From 45044a8dbe5c788fd1550badd1cd14f16f19893a Mon Sep 17 00:00:00 2001 From: muon Date: Sat, 2 Aug 2025 21:36:11 +0000 Subject: [PATCH] Add aerc pw script --- hosts/murk/home.nix | 9 ++++++++- modules/home/sops/default.nix | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/murk/home.nix b/hosts/murk/home.nix index edd2dee..1a06fd8 100644 --- a/hosts/murk/home.nix +++ b/hosts/murk/home.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, osConfig, inputs, ... }: +{ pkgs, lib, config, osConfig, inputs, ... }: let cfg = osConfig.mods; in { imports = [ inputs.impermanence.homeManagerModules.impermanence ]; @@ -13,6 +13,13 @@ in { mods.desktop.development.enable = true; mods.desktop.productivity.enable = false; + home.file = { + ".config/aerc/pw.sh" = { + text = "cat ${config.sops.secrets.hr-password.path}"; + executable = true; + }; + }; + # Hardware preferences ## Monitors diff --git a/modules/home/sops/default.nix b/modules/home/sops/default.nix index 567cf8e..2732df3 100644 --- a/modules/home/sops/default.nix +++ b/modules/home/sops/default.nix @@ -7,5 +7,6 @@ in with lib; { defaultSopsFile = ./secrets.yaml; secrets.zipline-auth = { }; secrets.atuin-auth = { }; + secrets.hr-password = { }; }; }