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