From e50c875102c37ccec2e8101c1273c5a266726994 Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 5 Feb 2023 13:02:07 +0100 Subject: Feat: Mounted .config as tempfs This should make it easier to ensure, that all configs files are saved in home-manger. --- system/filesystemLayouts/filesystemLayouts.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/filesystemLayouts/filesystemLayouts.nix') diff --git a/system/filesystemLayouts/filesystemLayouts.nix b/system/filesystemLayouts/filesystemLayouts.nix index ad51bbb8..a4215512 100644 --- a/system/filesystemLayouts/filesystemLayouts.nix +++ b/system/filesystemLayouts/filesystemLayouts.nix @@ -46,6 +46,12 @@ in { device = "/srv/nix-config"; options = ["bind"]; }; + + "${config.users.soispha.home}/.config" = { + device = "none"; + fsType = "tmpfs"; + options = ["defaults" "size=1G" "mode=755"]; + }; }; swapDevices = []; }; -- cgit 1.4.1