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

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-29 07:37:10 +01:00
parent ee15feae9b
commit f1b0f8304d
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,7 @@
imports = [
nixos-config.nixosModules.default
./hostName.nix
./minimize.nix
];
networking.hostName = lib.mkOverride 1100 "container";

View file

@ -0,0 +1,6 @@
{nixpkgs, ...}: {
imports = [
(nixpkgs.outPath + "/nixos/modules/profiles/minimal.nix")
(nixpkgs.outPath + "/nixos/modules/profiles/headless.nix")
];
}