Enable Home Manager for nixserver host

This commit is contained in:
Cameron Reed 2024-01-28 21:05:46 -07:00
parent 172168ba41
commit dc9ff444e6
2 changed files with 17 additions and 0 deletions

View File

@ -38,6 +38,13 @@
specialArgs = { inherit common_dir; };
modules = [
./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; };
}
];
};

View File

@ -0,0 +1,10 @@
{ lib, pkgs, config, osConfig, common_dir, ... }:
{
imports = [
(common_dir + /users/cameron/home.nix)
];
home.stateVersion = "23.11";
}