First test of all machines
This commit is contained in:
parent
b963380a0a
commit
1d0209fac3
16 changed files with 268 additions and 73 deletions
|
|
@ -6,7 +6,33 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [];
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
horseman.username = "horseman";
|
||||
|
||||
networking.hostName = "solis";
|
||||
|
||||
systemd.timers."backupSyncthing" = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "weekly";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."backupSyncthing" = {
|
||||
script = ''
|
||||
/home/horseman/nix-config/misc/backup.sh
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "horseman";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue