2024-04-02 07:04:34 +00:00
|
|
|
{config, ...}: {
|
2023-12-18 16:55:00 +00:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../roles
|
|
|
|
../../roles/hardware.nix
|
|
|
|
./network.nix
|
|
|
|
../../modules/borgbackup.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
services.mathebau-borgbackup.enable = true;
|
|
|
|
|
|
|
|
# System configuration here
|
|
|
|
networking.hostName = "bragi";
|
|
|
|
system.stateVersion = "23.11";
|
2024-04-02 07:04:34 +00:00
|
|
|
|
|
|
|
sops.secrets.backupKey = {
|
|
|
|
sopsFile = ./backupKey.yaml;
|
|
|
|
owner = config.users.users.fsaccount.name;
|
|
|
|
inherit (config.users.users.fsaccount) group;
|
|
|
|
mode = "0400";
|
|
|
|
};
|
2023-12-18 16:55:00 +00:00
|
|
|
}
|