srv0: update to nixos 21.11

This commit is contained in:
steveej 2021-12-06 20:22:47 +01:00
parent 87b8954fde
commit 988c414b00
3 changed files with 7 additions and 5 deletions

View file

@ -1,8 +1,8 @@
let let
nixpkgs = { nixpkgs = {
url = "https://github.com/NixOS/nixpkgs/"; url = "https://github.com/NixOS/nixpkgs/";
ref = "nixos-21.05"; ref = "nixos-21.11";
rev = "<% git ls-remote https://github.com/nixos/nixpkgs nixos-21.05 | awk '{ print $1 }' | tr -d '\n' -%>"; rev = "<% git ls-remote https://github.com/nixos/nixpkgs nixos-21.11 | awk '{ print $1 }' | tr -d '\n' -%>";
}; };
in in
@ -36,7 +36,7 @@ in
}; };
"home-manager-module" = { "home-manager-module" = {
url = "https://github.com/nix-community/home-manager"; url = "https://github.com/nix-community/home-manager";
ref = "release-21.05"; ref = "release-21.11";
rev = "<% git ls-remote https://github.com/nix-community/home-manager.git release-21.05 | awk '{ print $1 }' | tr -d '\n' -%>"; rev = "<% git ls-remote https://github.com/nix-community/home-manager.git release-21.11 | awk '{ print $1 }' | tr -d '\n' -%>";
}; };
} }

View file

@ -24,7 +24,8 @@ in {
ssl = true; ssl = true;
domains = [ cfg.domain ]; domains = [ cfg.domain ];
use = "web"; use = "web";
inherit (passwords.dyndns.${cfg.domain}) username password; inherit (passwords.dyndns.${cfg.domain}) username;
passwordFile = builtins.toFile "" passwords.dyndns.${cfg.domain}.password;
}; };
}; };
} }

View file

@ -80,6 +80,7 @@ in rec {
"--without-fpm-systemd" "--without-fpm-systemd"
]; ];
meta.license = null;
}); });
duplicacy = pkgs.callPackage ../pkgs/duplicacy {}; duplicacy = pkgs.callPackage ../pkgs/duplicacy {};