need ntp to run more often due to vm pauses
This commit is contained in:
parent
10444a0cb3
commit
e507e1032b
5 changed files with 5 additions and 2 deletions
2
Justfile
2
Justfile
|
@ -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; }
|
||||
|
|
1
nixos/hosts/porcelain-doll-repair/.flags
Normal file
1
nixos/hosts/porcelain-doll-repair/.flags
Normal file
|
@ -0,0 +1 @@
|
|||
--option sanbox false
|
|
@ -1 +1 @@
|
|||
10.100.0.3
|
||||
porcelain-doll-repair.hoki-porgy.ts.net
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
];
|
||||
|
||||
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||
services.chrony.enable = true; # needed for backups
|
||||
|
||||
services.openssh.settings.PasswordAuthentication = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue