diff --git a/flake.nix b/flake.nix index c71c581..aa9c412 100644 --- a/flake.nix +++ b/flake.nix @@ -200,6 +200,7 @@ }; pie = { + hostname = "pie.local"; sshUser = "yule"; }; diff --git a/hosts/pie/wake-droppie.nix b/hosts/pie/wake-droppie.nix index 56aa6c2..631cb55 100644 --- a/hosts/pie/wake-droppie.nix +++ b/hosts/pie/wake-droppie.nix @@ -3,7 +3,7 @@ services.cron = { enable = true; systemCronJobs = [ - "30 1 * * * wake-droppie ${pkgs.wakeonlan}/bin/wakeonlan 08:F1:EA:97:0F:0C" + "30 1 * * * root ${pkgs.wakeonlan}/bin/wakeonlan 08:F1:EA:97:0F:0C" ]; }; } diff --git a/users/b12f/home.nix b/users/b12f/home.nix index f0351a3..70a96b7 100644 --- a/users/b12f/home.nix +++ b/users/b12f/home.nix @@ -33,6 +33,11 @@ in { programs.ssh = { enable = true; matchBlocks = { + "pie.local" = { + hostname = "pie.local"; + user = "yule"; + }; + "git.b12f.io" = { hostname = "git.b12f.io"; user = "git";