mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
feat: integrate home manager with the system config
This commit is contained in:
@@ -1,2 +1,26 @@
|
||||
{...}: {
|
||||
{
|
||||
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}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user