Configured remote deployments

Also includes some misc fixes for bugs I ran into along the way.
This commit is contained in:
Alejandro Angulo 2023-04-16 10:07:42 -07:00
parent 7d8328b880
commit 58efac7f13
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
9 changed files with 107 additions and 32 deletions

View file

@ -7,7 +7,7 @@
}:
with lib; let
cfg = config.aa.nix;
selfHostedCacheHost = "192.168.113.69";
selfHostedCacheHost = "http://192.168.113.69/";
in {
options.aa.nix = with types; {
enable = mkEnableOption "manage nix configuration.";
@ -41,7 +41,7 @@ in {
if cfg.useSelfhostedCache
then [
selfHostedCacheHost
"https://cache.nixos.org"
"https://cache.nixos.org/"
]
else [];
trusted-public-keys =