fix eval
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22927 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22925 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22924 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22926 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #22928 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #22929 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-02 09:49:12 +01:00
parent 395bf91895
commit 46e3e4aae6

View file

@ -16,7 +16,7 @@ with lib; {
{
environment.impermanence.enable = mkDefault (!config.boot.isContainer && !inTester);
}
(mkIf config.environment.impermanence {
(mkIf config.environment.impermanence.enable {
boot.initrd.systemd.services.rootfs-cleanup = {
description = "Clean file system root";
wantedBy = [