summaryrefslogtreecommitdiff
path: root/system-profiles/tmpfs-root.nix
blob: 9cdb03084010f2e5df23f9e146ddc8c616c44283 (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
    '';
  };
}