Automatically set root user's sops key file
This commit is contained in:
parent
a4b8cd941d
commit
d5978e4d47
6 changed files with 3 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue