diff --git a/modules/containers/default.nix b/modules/containers/default.nix index 520a072f..2b70cff9 100644 --- a/modules/containers/default.nix +++ b/modules/containers/default.nix @@ -6,6 +6,7 @@ imports = [ nixos-config.nixosModules.default ./hostName.nix + ./minimize.nix ]; networking.hostName = lib.mkOverride 1100 "container"; diff --git a/modules/containers/minimize.nix b/modules/containers/minimize.nix new file mode 100644 index 00000000..821d5692 --- /dev/null +++ b/modules/containers/minimize.nix @@ -0,0 +1,6 @@ +{nixpkgs, ...}: { + imports = [ + (nixpkgs.outPath + "/nixos/modules/profiles/minimal.nix") + (nixpkgs.outPath + "/nixos/modules/profiles/headless.nix") + ]; +}