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,14 +26,16 @@
./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;};
imports = [ users.notoh = {
hyprland.homeManagerModules.default imports = [
./hosts/tsuki/home.nix hyprland.homeManagerModules.default
]; ./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,10 +60,12 @@
./hosts/sutakku ./hosts/sutakku
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 = { home-manager.useUserPackages = true;
imports = [./hosts/sutakku/home.nix]; home-manager.users.oh = {
imports = [./hosts/sutakku/home.nix];
};
}; };
} }
]; ];