fix: fix user to run droppie awaker on pie

This commit is contained in:
Benjamin Bädorf 2023-09-16 22:00:50 +02:00
parent f5c8627c22
commit 8603106bb7
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 7 additions and 1 deletions

View file

@ -200,6 +200,7 @@
}; };
pie = { pie = {
hostname = "pie.local";
sshUser = "yule"; sshUser = "yule";
}; };

View file

@ -3,7 +3,7 @@
services.cron = { services.cron = {
enable = true; enable = true;
systemCronJobs = [ 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"
]; ];
}; };
} }

View file

@ -33,6 +33,11 @@ in {
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = { matchBlocks = {
"pie.local" = {
hostname = "pie.local";
user = "yule";
};
"git.b12f.io" = { "git.b12f.io" = {
hostname = "git.b12f.io"; hostname = "git.b12f.io";
user = "git"; user = "git";