Reorganize some sops stuff
This commit is contained in:
parent
a29d10e507
commit
6291f8d438
14 changed files with 152 additions and 195 deletions
machines/warwick
|
@ -9,7 +9,7 @@
|
|||
config = {
|
||||
pim = {
|
||||
tailscale.advertiseExitNode = true;
|
||||
sopsKeys.root = ./nixos.sops.yaml;
|
||||
sops-nix.usersWithSopsKeys = ["root"];
|
||||
prometheus.enable = true;
|
||||
};
|
||||
|
||||
|
@ -31,10 +31,7 @@
|
|||
|
||||
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";
|
||||
defaultSopsFile = ./nixos.sops.yaml;
|
||||
};
|
||||
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue