minor updates

This commit is contained in:
Vivian 2022-03-31 12:25:45 +02:00
parent 442a1d4acc
commit c7b8be2af2
6 changed files with 44 additions and 36 deletions

View file

@ -17,20 +17,22 @@
# Nix Settings
nix = {
package = pkgs.nixUnstable;
autoOptimiseStore = true;
binaryCaches = [
"https://cachix.cachix.org"
"https://nix-community.cachix.org"
"https://nixpkgs-review-bot.cachix.org"
];
binaryCachePublicKeys = [
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-review-bot.cachix.org-1:eppgiDjPk7Hkzzz7XlUesk3rcEHqNDozGOrcLc8IqwE="
];
trustedUsers = [ "root" "victor" ];
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "victor" ];
substituters = [
"https://cachix.cachix.org"
"https://nix-community.cachix.org"
"https://nixpkgs-review-bot.cachix.org"
];
trusted-public-keys = [
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-review-bot.cachix.org-1:eppgiDjPk7Hkzzz7XlUesk3rcEHqNDozGOrcLc8IqwE="
];
};
extraOptions = ''
experimental-features = nix-command flakes ca-references
experimental-features = nix-command flakes
'';
};

View file

@ -8,7 +8,7 @@ let
proxyWebsockets = true;
};
};
k8s_proxy = proxy "http://10.42.42.10:8000/";
k8s_proxy = proxy "http://10.42.42.150:8000/";
in {
networking.hostName = "nginx";
@ -42,7 +42,7 @@ in {
virtualHosts."whoami.wooloofan.club" = k8s_proxy;
};
security.acme.email = "victorheld12@gmail.com";
security.acme.defaults.email = "victorheld12@gmail.com";
security.acme.acceptTerms = true;
security.acme.preliminarySelfsigned = true;
}

View file

@ -26,7 +26,7 @@
services.unifi = {
enable = true;
openPorts = true;
unifiPackage = pkgs.unifi;
openFirewall = true;
};
}