diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-17 15:53:41 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-17 15:53:41 +0100 |
commit | 30531facff062d140079e2e354fb6e62b184b5cd (patch) | |
tree | d092a864afbc2c18cd401258093c880b0ef0e7b7 /nixos/kusanagi.nix | |
parent | 0df93e912e8644f2a93be0119296dbcb5ae06093 (diff) | |
download | user-config-30531facff062d140079e2e354fb6e62b184b5cd.tar.gz user-config-30531facff062d140079e2e354fb6e62b184b5cd.zip |
Add discard, cleanup /tmp on boot
Diffstat (limited to 'nixos/kusanagi.nix')
-rw-r--r-- | nixos/kusanagi.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index eea3f9e..236e162 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -34,6 +34,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/2f606c6b-8009-4158-b367-2e0cf1a57ade"; fsType = "ext4"; + options = [ "discard" ]; }; fileSystems."/boot" = { @@ -44,6 +45,7 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/f955ce34-f25e-4abf-8732-bcf17465f78c"; fsType = "ext4"; + options = [ "discard" ]; }; swapDevices = |