diff --git a/system_profiles/mini-container.nix b/system_profiles/mini-container.nix new file mode 100644 index 0000000..498bbb2 --- /dev/null +++ b/system_profiles/mini-container.nix @@ -0,0 +1,10 @@ +{ + imports = [ + ./mini.nix + + { + boot.isContainer = true; + boot.kernel.enable = false; + } + ]; +} diff --git a/system_profiles/mini.nix b/system_profiles/mini.nix new file mode 100644 index 0000000..70c1639 --- /dev/null +++ b/system_profiles/mini.nix @@ -0,0 +1,21 @@ +{ + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/profiles/minimal.nix") + (modulesPath + "/profiles/perlless.nix") + + { + boot.isContainer = true; + boot.kernel.enable = false; + environment.defaultPackages = []; + nixpkgs.overlays = [(self: super: {})]; + } + ]; + + disabledModules = [ + (modulesPath + "/profiles/all-hardware.nix") + (modulesPath + "/profiles/base.nix") + ]; +}