mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 18:31:03 -05:00
Try To Get a Secret Decrypted Into a File
This commit is contained in:
parent
adf43c6bf5
commit
affa3000d7
3 changed files with 42 additions and 3 deletions
|
|
@ -1,9 +1,18 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# imports = [
|
||||
# inputs.sops-nix.homeManagerModules.sops
|
||||
#];
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
# Configure secrets stuff
|
||||
sops = {
|
||||
defaultSopsFile = "../../secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."spotifyd/settings/global/password" = { };
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
|
|||
6
hosts/kim/dotfiles/spotifyd.conf
Normal file
6
hosts/kim/dotfiles/spotifyd.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[global]
|
||||
username = "me@annikamerris.com"
|
||||
password_cmd = "something"
|
||||
use_mpris = true
|
||||
device_name = "kim-nix"
|
||||
device_type = "computer"
|
||||
Loading…
Add table
Add a link
Reference in a new issue