hosts/caramel: update to raccoon
This commit is contained in:
parent
9efff26496
commit
8de41594fa
8 changed files with 79 additions and 15 deletions
|
|
@ -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
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
base
|
||||
home-manager
|
||||
input
|
||||
nix-porcupine
|
||||
nix-stable
|
||||
security
|
||||
wireguard
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue