mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
27 lines
546 B
Nix
27 lines
546 B
Nix
{
|
|
username,
|
|
desktop,
|
|
stateVersion,
|
|
osConfig,
|
|
inputs,
|
|
...
|
|
}: {
|
|
home = {
|
|
inherit username stateVersion;
|
|
homeDirectory = "/home/${username}";
|
|
shellAliases = {
|
|
nix-reload-home = "home-manager switch --flake ${./..}";
|
|
nix-reload-system = "nixos-rebuild switch --flake ${./..}";
|
|
};
|
|
};
|
|
imports = [
|
|
inputs.ags.homeManagerModules.default
|
|
inputs.nixvim.homeManagerModules.nixvim
|
|
inputs.anyrun.homeManagerModules.default
|
|
./packages
|
|
./programs
|
|
./services
|
|
./desktops/${desktop}
|
|
];
|
|
}
|