From e7c15976a20adae667819f615de3adc013a664c8 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sat, 27 Dec 2025 15:46:55 +0100 Subject: [PATCH] make downloads on GLaDOS be tmpfs --- disko/GLaDOS/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/disko/GLaDOS/default.nix b/disko/GLaDOS/default.nix index 42aeb33..f998acc 100644 --- a/disko/GLaDOS/default.nix +++ b/disko/GLaDOS/default.nix @@ -14,7 +14,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; - mountOptions = [ "umask=0077" ]; + mountOptions = ["umask=0077"]; }; }; nvme_luks = { @@ -22,7 +22,7 @@ content = { type = "luks"; name = "nvme_crypted"; - extraOpenArgs = [ ]; + extraOpenArgs = []; settings = { # if you want to use the key for interactive login be sure there is no trailing newline # for example use `echo -n "password" > /tmp/secret.key` @@ -65,5 +65,13 @@ }; }; }; + nodev = { + "/home/lillian/Downloads" = { + fsType = "tmpfs"; + mountOptions = [ + "size=4G" + ]; + }; + }; }; }