]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/modules/ftp/default.nix
Move ympd password to secure location
[perso/Immae/Config/Nix.git] / nixops / modules / ftp / default.nix
index 321e032c0e05ccbebf25547e8a35084609decbb0..af9a75c0f04c2f9961a1077285587060042c1ff1 100644 (file)
       postRun = ''
         systemctl restart pure-ftpd.service
       '';
+      extraDomains = { "ftp.immae.eu" = null; };
     };
 
-    nixpkgs.config.packageOverrides = oldpkgs: rec {
-      pure-ftpd = pkgs.callPackage ./pure-ftpd.nix {};
-    };
+    nixpkgs.overlays = [ (self: super: {
+      pure-ftpd = self.callPackage ./pure-ftpd.nix {};
+    }) ];
 
     networking = {
       firewall = {