mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 16:49:59 -05:00
secrets are hard
This commit is contained in:
parent
a7f18eab61
commit
0f3fa23b09
2 changed files with 18 additions and 8 deletions
|
|
@ -96,6 +96,24 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Configure secrets stuff
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."spotifyd/settings/global/password" = { };
|
||||
};
|
||||
sops.templates."spotifyd.conf".content = ''
|
||||
[global]
|
||||
username = "me@annikamerris.com"
|
||||
password = "${config.sops.placeholder."spotifyd/settings/global/password"}"
|
||||
use_mpris = true
|
||||
device_name = "kim-nix"
|
||||
device_type = "computer"
|
||||
what = "huh"
|
||||
'';
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
users = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue