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

@ -31,8 +31,6 @@
boot.loader.systemd-boot.enable = lib.mkForce false;
users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels;
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";