feat(nixos): pass hostName to nixosSystem, move hm modules

This commit is contained in:
Mohammad Rafiq 2025-07-07 06:48:19 +08:00
parent f71c65f639
commit 94e045e0f3
No known key found for this signature in database
4 changed files with 7 additions and 5 deletions

View file

@ -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;
}