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