Automatically set root user's sops key file

This commit is contained in:
Pim Kunis 2024-12-01 17:06:43 +01:00
parent a4b8cd941d
commit d5978e4d47
6 changed files with 3 additions and 16 deletions

View file

@ -37,11 +37,7 @@
home-manager.users.pim.imports = [./pim.home.nix];
nix.settings.trusted-users = ["pim"];
system.stateVersion = "23.05";
sops = {
age.keyFile = "/root/.config/sops/age/keys.txt";
defaultSopsFile = "${self}/secrets/sue/nixos.yaml";
};
sops.defaultSopsFile = "${self}/secrets/sue/nixos.yaml";
environment.systemPackages = with pkgs; [
borgbackup