refactor: flake.nix home-manager

This commit is contained in:
notohh 2023-04-23 18:12:16 -04:00
parent 58df43a78b
commit 5d47cc2c5f
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -26,15 +26,17 @@
./hosts/tsuki ./hosts/tsuki
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager = {
home-manager.useUserPackages = true; useGlobalPkgs = true;
home-manager.extraSpecialArgs = {inherit inputs;}; useUserPackages = true;
home-manager.users.notoh = { extraSpecialArgs = {inherit inputs;};
users.notoh = {
imports = [ imports = [
hyprland.homeManagerModules.default hyprland.homeManagerModules.default
./hosts/tsuki/home.nix ./hosts/tsuki/home.nix
]; ];
}; };
};
} }
]; ];
}; };
@ -44,9 +46,11 @@
./hosts/hime ./hosts/hime
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager = {
home-manager.useUserPackages = true; useGlobalPkgs = true;
home-manager.users.oh = {imports = [./hosts/hime/home.nix];}; useUserPackages = true;
users.oh = {imports = [./hosts/hime/home.nix];};
};
} }
]; ];
}; };
@ -56,11 +60,13 @@
./hosts/sutakku ./hosts/sutakku
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager = {
useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.oh = { home-manager.users.oh = {
imports = [./hosts/sutakku/home.nix]; imports = [./hosts/sutakku/home.nix];
}; };
};
} }
]; ];
}; };