restructure home manager now that I understand it kinda:
This commit is contained in:
28
flake.nix
28
flake.nix
@@ -19,34 +19,18 @@
|
||||
{
|
||||
nixosConfigurations = {
|
||||
snowbelle = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/snowbelle/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.blake = import ./users/blake/home.nix;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
}
|
||||
];
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
vaniville = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/vaniville/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.blake = import ./users/blake/home.nix;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
}
|
||||
];
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user