start reducing container size
Some checks failed
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22162 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22163 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22160 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22161 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Some checks failed
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22162 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22163 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22160 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22161 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
This commit is contained in:
parent
ee15feae9b
commit
f1b0f8304d
2 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
imports = [
|
||||
nixos-config.nixosModules.default
|
||||
./hostName.nix
|
||||
./minimize.nix
|
||||
];
|
||||
|
||||
networking.hostName = lib.mkOverride 1100 "container";
|
||||
|
|
6
modules/containers/minimize.nix
Normal file
6
modules/containers/minimize.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{nixpkgs, ...}: {
|
||||
imports = [
|
||||
(nixpkgs.outPath + "/nixos/modules/profiles/minimal.nix")
|
||||
(nixpkgs.outPath + "/nixos/modules/profiles/headless.nix")
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue