sombrero: Add home-manager
This commit is contained in:
@@ -51,7 +51,11 @@
|
|||||||
|
|
||||||
sombrero = inputs.nixpkgs2211.lib.nixosSystem {
|
sombrero = inputs.nixpkgs2211.lib.nixosSystem {
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
modules = [ ./hosts/sombrero/configuration.nix ];
|
modules = [
|
||||||
|
./hosts/sombrero/configuration.nix
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
./hosts/sombrero/home.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
17
hosts/sombrero/home.nix
Normal file
17
hosts/sombrero/home.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
|
||||||
|
users.alex = {
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
home.username = "alex";
|
||||||
|
home.homeDirectory = "/home/alex";
|
||||||
|
|
||||||
|
home.packages = [];
|
||||||
|
|
||||||
|
home.stateVersion = "22.11";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user