Bragi cleanup #35

Merged
Gonne merged 3 commits from Gonne/nixConfig:bragi into main 2024-04-03 13:59:25 +00:00
2 changed files with 8 additions and 7 deletions
Showing only changes of commit e91f417a29 - Show all commits

View file

@ -1,4 +1,4 @@
{
{config, ...}: {
imports = [
./hardware-configuration.nix
../../roles
@ -12,4 +12,11 @@
# 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";
};
}

View file

@ -161,11 +161,5 @@ in {
}
];
};
sops.secrets.backupKey = {
sopsFile = ../machines/bragi/backupKey.yaml;
owner = config.users.users.fsaccount.name;
inherit (config.users.users.fsaccount) group;
mode = "0400";
};
};
}