summaryrefslogtreecommitdiff
path: root/system-profiles/tmpfs-root.nix
blob: d0b3be76c44a45ac8dbd9935dddb94da0f9b8715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ ... }: {
  config = {
    fileSystems."/" = {
      fsType = "tmpfs";
      options = [ "mode=0755" ];
    };

    security.sudo.extraConfig = ''
      Defaults lecture = never
    '';
  };
}