refactor: flake.nix home-manager
This commit is contained in:
parent
58df43a78b
commit
5d47cc2c5f
1 changed files with 21 additions and 15 deletions
22
flake.nix
22
flake.nix
|
@ -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];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue