diff --git a/modules/default.nix b/modules/default.nix index d441150..5c8b421 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,5 +1,6 @@ -{...}: { +{inputs, ...}: { imports = [ + inputs.nh.nixosModules.default ./security.nix ./networking.nix ./users.nix diff --git a/modules/nix.nix b/modules/nix.nix index eace30f..906a990 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -1,10 +1,15 @@ -{pkgs, ...}: { +_: { nixpkgs = { config = { allowUnfree = true; }; }; + nh = { + enable = true; + clean.enable = true; + }; + nix = { gc = { automatic = true;