Enable Home Manager for nixserver host
This commit is contained in:
parent
172168ba41
commit
dc9ff444e6
@ -38,6 +38,13 @@
|
|||||||
specialArgs = { inherit common_dir; };
|
specialArgs = { inherit common_dir; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/nixserver/configuration.nix
|
./hosts/nixserver/configuration.nix
|
||||||
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.users.cameron = import ./hosts/nixserver/home-manager/cameron.nix;
|
||||||
|
|
||||||
|
home-manager.extraSpecialArgs = { inherit common_dir; };
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
10
hosts/nixserver/home-manager/cameron.nix
Normal file
10
hosts/nixserver/home-manager/cameron.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ lib, pkgs, config, osConfig, common_dir, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
(common_dir + /users/cameron/home.nix)
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
home.stateVersion = "23.11";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user