From 79e2ba3016728b5fd1cca01ef7cadbee08091511 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Fri, 4 Oct 2024 12:09:56 +0300 Subject: [PATCH] refactor: remove Atuin private key Pointless hassle --- modules/nixos/user/shell/atuin/default.nix | 7 ------- secrets/atuin-key.age | 7 ------- secrets/secrets.nix | 1 - 3 files changed, 15 deletions(-) delete mode 100644 secrets/atuin-key.age diff --git a/modules/nixos/user/shell/atuin/default.nix b/modules/nixos/user/shell/atuin/default.nix index 1a5d2bb..2064fa9 100644 --- a/modules/nixos/user/shell/atuin/default.nix +++ b/modules/nixos/user/shell/atuin/default.nix @@ -19,12 +19,5 @@ in style = "compact"; }; }; - - age.secrets.atuinKey = lib.mkIf config.elementary.secrets.enable { - file = ./../../../../../secrets/atuin-key.age; - owner = config.elementary.user.name; - path = "${config.users.users.${config.elementary.user.name}.home}/.local/share/atuin/key"; - mode = "700"; - }; }; } diff --git a/secrets/atuin-key.age b/secrets/atuin-key.age deleted file mode 100644 index 20b59b4..0000000 --- a/secrets/atuin-key.age +++ /dev/null @@ -1,7 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 jYecfA ZVDi6PkEksrsWwRVR77ckW9SlgQqWqeadmMGOT6rZTM -QxO2bbU1D8bmsHTycKS3UhU26COkQmBkb3jbeLgWIx4 --> ssh-ed25519 s9Td2A Ln2ERMC9cSWRcKB5N11y4+R/Xl4zANL6L0B+IBPJo1s -Aw9mEPWKGxkTkg121xMKtPrCG72dMQalifHv4JOh0PU ---- rk/XSNx6VZWnQMdjzpYDG8pxgRAvTAocyYaWgF7v5aE -ɯP@{-%}8Hbv3L+iZv*lN̵0h àcE+9zPZ4T}3Dq Fݒͣ{,F \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index fc11cc2..3f721c7 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -7,6 +7,5 @@ let in { "authinfo.age".publicKeys = all; - "atuin-key.age".publicKeys = all; "private-ssh-config.age".publicKeys = all; }