need ntp to run more often due to vm pauses

This commit is contained in:
41666 2024-03-30 02:34:38 -04:00
parent 10444a0cb3
commit e507e1032b
5 changed files with 5 additions and 2 deletions

View file

@ -73,7 +73,7 @@ sops-generate-keys:
deploy target_host extra_flags="":
@test -f nixos/hosts/{{target_host}}/.target || { echo "Host cannot be deployed, add a .target file with SSH destination"; exit 1; }
ssh -A `cat nixos/hosts/{{target_host}}/.target` sudo nixos-rebuild switch {{extra_flags}} --accept-flake-config --flake \"git+https://codeberg.org/noe/nixos.git?ref={{branch}}\&rev={{commit}}#{{target_host}}\"
ssh -A `cat nixos/hosts/{{target_host}}/.target` sudo nixos-rebuild switch {{extra_flags}} `cat nixos/hosts/{{target_host}}/.flags 2>/dev/null || echo ''` --accept-flake-config --flake \"git+https://codeberg.org/noe/nixos.git?ref={{branch}}\&rev={{commit}}#{{target_host}}\"
deploy2 target_host extra_flags="":
@test -f nixos/hosts/{{target_host}}/.target || { echo "Host cannot be deployed, add a .target file with SSH destination"; exit 1; }

View file

@ -0,0 +1 @@
--option sanbox false

View file

@ -1 +1 @@
10.100.0.3
porcelain-doll-repair.hoki-porgy.ts.net

View file

@ -9,6 +9,7 @@
networking.hostName = "porcelain-doll-repair";
system.stateVersion = "24.05";
nixpkgs.hostPlatform = "x86_64-linux";
services.chrony.enable = true; # needed for backups
sops.secrets.db_password = {
sopsFile = ../../../secrets/porcelain-doll-repair/default.yaml;

View file

@ -8,6 +8,7 @@
];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
services.chrony.enable = true; # needed for backups
services.openssh.settings.PasswordAuthentication = false;