sombrero: Move home-manager input to home module imports
This commit is contained in:
@@ -54,7 +54,6 @@
|
|||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/sombrero/configuration.nix
|
./hosts/sombrero/configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
./hosts/sombrero/home.nix
|
./hosts/sombrero/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,17 +1,24 @@
|
|||||||
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
|
|
||||||
users.alex = {
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
home.username = "alex";
|
config = {
|
||||||
home.homeDirectory = "/home/alex";
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
|
||||||
home.packages = [];
|
users.alex = {
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
home.stateVersion = "22.11";
|
home.username = "alex";
|
||||||
|
home.homeDirectory = "/home/alex";
|
||||||
|
|
||||||
|
home.packages = [];
|
||||||
|
|
||||||
|
home.stateVersion = "22.11";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user