Added sops support
This commit is contained in:
parent
52dfd1fbdf
commit
2e06ef806d
8 changed files with 114 additions and 4 deletions
|
@ -16,9 +16,15 @@
|
|||
];
|
||||
|
||||
networking.hostName = myhostname;
|
||||
sops.defaultSopsFile = ../../secrets/fred.yaml;
|
||||
# This will automatically import SSH keys as age keys
|
||||
sops.age.sshKeyPaths = [ "~/.ssh/id_ed" ];
|
||||
# This is using an age key that is expected to already be in the filesystem
|
||||
sops.age.keyFile = "~/.config/sops/age/keys.txt";
|
||||
sops.secrets.spotify_password = {};
|
||||
|
||||
services.xserver.dpi = 140;
|
||||
|
||||
services.spotifyd.settings.password = "${config.sops.secrets.spotify_password}";
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue