aboutsummaryrefslogtreecommitdiffstats
path: root/system/fileSystemLayouts
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-20 10:12:35 +0100
committerene <ene@sils.li>2023-02-20 11:42:45 +0100
commit2e1fab3e13c557928313f022a7f48ff0ce55e251 (patch)
treea2a32757009a0a77c39b47098af1886bb3b7d38f /system/fileSystemLayouts
parentFix(system): Remove unnecessary persistent file (diff)
downloadnixos-config-2e1fab3e13c557928313f022a7f48ff0ce55e251.zip
Fix(system): Refactor impermanence
Diffstat (limited to 'system/fileSystemLayouts')
-rw-r--r--system/fileSystemLayouts/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/fileSystemLayouts/default.nix b/system/fileSystemLayouts/default.nix
index e4062ffe..cdc59b4e 100644
--- a/system/fileSystemLayouts/default.nix
+++ b/system/fileSystemLayouts/default.nix
@@ -47,13 +47,12 @@ in {
device = cfg.efiDisk;
fsType = "vfat";
};
-
- # This results in infinite recursion, don't ask my why
- # "${config.users.users.soispha.home}/.config" = {
- # device = "none";
- # fsType = "tmpfs";
- # options = ["defaults" "size=1G" "mode=755"];
- # };
+ fileSystems."${config.users.users.soispha.home}" = {
+ # fileSystems."/home/sopipha" = {
+ device = "none";
+ fsType = "tmpfs"; # Can be stored on normal drive or on tmpfs as well
+ options = ["defaults" "size=4G" "mode=755"];
+ };
};
swapDevices = [];
};