diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-02 00:15:19 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-02 00:15:19 +0100 |
commit | 86ccf1964b5e30ead1b5f0d8ad376f9aa655d684 (patch) | |
tree | e15c0c338518c34c1e7066a1bded2ade641564f2 /system-profiles/tmpfs-root.nix | |
parent | 42984e77041cfc95d333319bef0b2d8f441f56d3 (diff) | |
download | nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.gz nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.bz2 nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.tar.xz nixos-86ccf1964b5e30ead1b5f0d8ad376f9aa655d684.zip |
tmpfs-root system-profile
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 | } | ||