nixos-config/modules/containers/default.nix
Charlotte 🦝 Delenk f1b0f8304d
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
start reducing container size
2024-10-29 07:37:10 +01:00

14 lines
218 B
Nix

{
nixos-config,
lib,
...
}: {
imports = [
nixos-config.nixosModules.default
./hostName.nix
./minimize.nix
];
networking.hostName = lib.mkOverride 1100 "container";
boot.isContainer = true;
}