hosts/caramel: update to raccoon

This commit is contained in:
LavaDesu 2022-11-27 14:30:59 +07:00
parent 9efff26496
commit 8de41594fa
Signed by: cilly
GPG key ID: 6500251E087653C9
8 changed files with 79 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{ config, inputs, modules, modulesPath, overlays, pkgs, ... }: {
networking.hostName = "caramel";
system.stateVersion = "21.11";
system.stateVersion = "22.11";
time.timeZone = "Asia/Phnom_Penh";
age.secrets = {
@ -13,12 +13,12 @@
imports =
(with modules.system; [
"${builtins.toString modulesPath}/installer/sd-card/sd-image-aarch64.nix"
inputs.home-manager-porcupine.nixosModule
inputs.home-manager-raccoon.nixosModule
base
home-manager
input
nix-porcupine
nix-stable
security
transmission
wireguard
@ -39,6 +39,5 @@
sonarr
tmptsync
unbound
vaultwarden
]);
}

View file

@ -23,4 +23,13 @@
192.168.100.13 blossom
'';
};
# wait for ntp before connecting to wireguard
systemd = {
additionalUpstreamSystemUnits = [ "systemd-time-wait-sync.service" ];
services = {
"systemd-time-wait-sync".wantedBy = [ "multi-user.target" ];
"wireguard-wg0".after = [ "time-sync.target" ];
};
};
}

View file

@ -14,7 +14,7 @@
base
home-manager
input
nix-porcupine
nix-stable
security
wireguard