summary refs log blame commit diff stats
path: root/system/impermanence/default.nix
blob: 05950786c556d0450220011437f9a939015a43e4 (plain) (tree)
1
2
3
4
5
6
7
        



                                                           
                     




                        



                                    


                       
    
{...}: {
  # TODO: Only activate them if their module is also active
  imports = [
    ./mods/acme.nix
    ./mods/keycloak.nix
    ./mods/mail.nix
    ./mods/matrix.nix
    ./mods/minecraft.nix
    ./mods/nix-sync.nix
    ./mods/openssh.nix
    ./mods/users.nix
  ];

  environment.persistence."/srv" = {
    hideMounts = true;
    directories = [
      "/etc/nixos"
      "/var/log"
    ];
    files = [
      "/etc/machine-id"
    ];
  };
}