mirror of
https://github.com/genebean/dots.git
synced 2026-05-31 07:45:20 -04:00
All of what was here is now there + it is updated and modernized and now nix-native. No more Lazy, no more Mason.
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{ inputs, ... }:
|
|
{
|
|
mkHomeConfig =
|
|
{
|
|
homeDirectory,
|
|
system,
|
|
username,
|
|
}:
|
|
inputs.home-manager.lib.homeManagerConfiguration {
|
|
extraSpecialArgs = {
|
|
inherit
|
|
inputs
|
|
homeDirectory
|
|
system
|
|
username
|
|
;
|
|
};
|
|
|
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
|
|
|
# Specify your home configuration modules here, for example,
|
|
# the path to your home.nix.
|
|
modules = [
|
|
./nixpkgs-settings.nix
|
|
../modules/hosts/home-manager-only
|
|
../modules/hosts/home-manager-only/home-${username}.nix
|
|
../modules/shared/home/general
|
|
../modules/shared/linux/flatpaks.nix
|
|
|
|
{
|
|
home = {
|
|
username = "${username}";
|
|
homeDirectory = "${homeDirectory}";
|
|
};
|
|
}
|
|
|
|
inputs.genebean-neovim.homeManagerModules.default
|
|
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
|
inputs.private-flake.homeManagerModules.private.git
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
];
|
|
};
|
|
}
|