diff options
| author | ene <ene@sils.li> | 2023-02-05 13:02:07 +0100 |
|---|---|---|
| committer | ene <ene@sils.li> | 2023-02-05 13:02:07 +0100 |
| commit | e50c875102c37ccec2e8101c1273c5a266726994 (patch) | |
| tree | 0f178ccc068d4b565dc47eba06f7db1bd5b523a2 | |
| parent | Feat: Switch to Default.nix files (diff) | |
| download | nixos-config-e50c875102c37ccec2e8101c1273c5a266726994.zip | |
Feat: Mounted .config as tempfs
This should make it easier to ensure, that all configs files are saved in home-manger.
Diffstat (limited to '')
| -rw-r--r-- | system/filesystemLayouts/filesystemLayouts.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 = []; }; |
