From 9d5f048dee19f9f5ced73944cdcd2241fae5fd15 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 7 May 2024 20:53:55 +0900 Subject: [PATCH] UPdate secrets --- home-manager/common/software/cli/atuin.nix | 2 +- home-manager/users/albert/default.nix | 2 +- nixos/users/albert/default.nix | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home-manager/common/software/cli/atuin.nix b/home-manager/common/software/cli/atuin.nix index 3624f487..8fa2adfb 100644 --- a/home-manager/common/software/cli/atuin.nix +++ b/home-manager/common/software/cli/atuin.nix @@ -12,7 +12,7 @@ search_mode = "fuzzy"; search_mode_shell_up_key_binding = "fuzzy"; secrets_filter = true; - key_path = "/run/secrets/${username}/atuin_key"; + key_path = "/run/secrets/atuin_key"; filter_mode = "global"; workspaces = true; inline_height = 75; diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index 2bebf408..01021acd 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -45,7 +45,7 @@ address = "albert@sysctl.io"; # password # https://nix-community.github.io/home-manager/options.html#opt-accounts.email.accounts._name_.passwordCommand - passwordCommand = "cat /run/secrets/albert/email_password"; + passwordCommand = "cat /run/secrets/email_password"; realName = "Albert J. Copeland"; signature = '' Albert J. Copeland diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index a57a1887..6fe47dd8 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -34,12 +34,12 @@ in { # Used in home-manager's atuin config # Used here instead of home-manager because HM randomly needs to restart sops-nix and I can't # find a way to do so - sops.secrets."albert/atuin_key" = { + sops.secrets."atuin_key" = { sopsFile = ../../../secrets/users/albert.yaml; owner = "albert"; }; - sops.secrets."albert/email_password" = { + sops.secrets."email_password" = { sopsFile = ../../../secrets/users/albert.yaml; owner = "albert"; };