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

                                                           
                   
                       
                     
                        
                     
                       
                         
                         

                    



                                    


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

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