nixConfig/nixos/machines/bragi/configuration.nix

23 lines
495 B
Nix
Raw Normal View History

{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";
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
}