summaryrefslogtreecommitdiff
path: root/system-profiles/tmpfs-root.nix
blob: 23939c2e92f588c640725c44dd7820a574f25722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ ... }: {
  config = {
    # system.etc.overlay.enable = true;

    fileSystems."/" = {
      fsType = "tmpfs";
      options = [ "mode=0755" ];
    };

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