feat(nixos): pass hostName to nixosSystem, move hm modules
This commit is contained in:
parent
fe6f0c03b4
commit
092a866959
4 changed files with 7 additions and 5 deletions
13
nix/modules/home-manager.nix
Normal file
13
nix/modules/home-manager.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ inputs, ... }:
|
||||
let
|
||||
hm = inputs.home-manager;
|
||||
globalCfg = {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ hm.flakeModules.home-manager ];
|
||||
flake.modules.nixos.default.imports = [ hm.nixosModules.home-manager ];
|
||||
flake.modules.nixos.default.config = globalCfg;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue