diff options
| author | Baitinq <[email protected]> | 2022-09-06 23:10:25 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-09-07 12:42:31 +0200 |
| commit | a73d93704de272c2a2970a0f414056e3678da9a2 (patch) | |
| tree | 9f8acaec5bbc03c2a89598e834156b109ad2dc40 /hosts/phobos | |
| parent | Add irqbalance service (diff) | |
| download | nixos-config-a73d93704de272c2a2970a0f414056e3678da9a2.tar.gz nixos-config-a73d93704de272c2a2970a0f414056e3678da9a2.tar.bz2 nixos-config-a73d93704de272c2a2970a0f414056e3678da9a2.zip | |
Add ability to create iso of nixosConfigurations
Diffstat (limited to 'hosts/phobos')
| -rw-r--r-- | hosts/phobos/disks.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/phobos/disks.nix b/hosts/phobos/disks.nix index 9f1906e..6f005bf 100644 --- a/hosts/phobos/disks.nix +++ b/hosts/phobos/disks.nix @@ -1,4 +1,4 @@ -{ config, lib, inputs, pkgs, modulesPath, ... }: +{ config, lib, inputs, pkgs, modulesPath, isIso, ... }: { fileSystems."/" = { device = "none"; @@ -33,7 +33,7 @@ swapDevices = [ ]; - services.btrfs.autoScrub.enable = true; + services.btrfs.autoScrub.enable = if !isIso then true else false; zramSwap.enable = true; |