diff options
Diffstat (limited to 'system-profiles/tmpfs-root.nix')
-rw-r--r-- | system-profiles/tmpfs-root.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system-profiles/tmpfs-root.nix b/system-profiles/tmpfs-root.nix new file mode 100644 index 00000000..d0b3be76 --- /dev/null +++ b/system-profiles/tmpfs-root.nix | |||
@@ -0,0 +1,12 @@ | |||
1 | { ... }: { | ||
2 | config = { | ||
3 | fileSystems."/" = { | ||
4 | fsType = "tmpfs"; | ||
5 | options = [ "mode=0755" ]; | ||
6 | }; | ||
7 | |||
8 | security.sudo.extraConfig = '' | ||
9 | Defaults lecture = never | ||
10 | ''; | ||
11 | }; | ||
12 | } | ||