Try To Get a Secret Decrypted Into a File

This commit is contained in:
Annika Merris 2024-05-12 10:32:27 -04:00
parent adf43c6bf5
commit affa3000d7
3 changed files with 42 additions and 3 deletions

View file

@ -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

View file

@ -0,0 +1,6 @@
[global]
username = "me@annikamerris.com"
password_cmd = "something"
use_mpris = true
device_name = "kim-nix"
device_type = "computer"