blob: a05b1f493f92109cc39f4173b60ec2fdcfba4f4b (
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, ... }:
{
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;
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 = {
"zroot/persist" = {
source = "zroot/persist";
target = "ubuntu@185.107.88.38:backup/snorlax";
};
};
}
|