blob: 9cf1bfeff6768fcd6066015121a81a25c8bc0ffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ config, lib, ... }:
{
imports = [
./disk-config.nix
./git.nix
./samba.nix
./nginx.nix
# ./uvm-guests
./networking.nix
../core
];
system.stateVersion = "24.11";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.postDeviceCommands = lib.mkAfter ''
zfs rollback -r data/local/root@blank
'';
time.timeZone = "Europe/Amsterdam";
home-manager.users.jras = { home.stateVersion = "24.11"; };
age.secrets.syncoid-key = {
file = ../../secrets/syncoid-key.age;
owner = "syncoid";
group = "syncoid";
};
services.syncoid.enable = true;
services.syncoid.sshKey = config.age.secrets.syncoid-key.path;
services.syncoid.commands = {
"data/safe/persist".target = "ubuntu@185.107.88.38:backup/snorlax";
};
}
|