From 46124de825a2dac4a92ec01f6e36a9b520e1ef6f Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Fri, 1 Sep 2023 21:58:15 -0700 Subject: [PATCH 1/4] add keys for personal github --- home/bin/executable_rbw-get | 2 +- home/private_dot_ssh/keys/github_personal.pub | 1 + home/private_dot_ssh/keys/github_personal.tmpl | 1 + provision/nixos/modules/desktop/sway.nix | 3 +-- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 home/private_dot_ssh/keys/github_personal.pub create mode 100644 home/private_dot_ssh/keys/github_personal.tmpl diff --git a/home/bin/executable_rbw-get b/home/bin/executable_rbw-get index fb5eaefb..36fee16f 100644 --- a/home/bin/executable_rbw-get +++ b/home/bin/executable_rbw-get @@ -7,5 +7,5 @@ if [[ "$2" == "Password" ]] then rbw get "$1" else - rbw get "$1" --full | grep "$2" | cut -d ' ' -f 2- + rbw get "$1" --field="$2" fi diff --git a/home/private_dot_ssh/keys/github_personal.pub b/home/private_dot_ssh/keys/github_personal.pub new file mode 100644 index 00000000..050c0eb3 --- /dev/null +++ b/home/private_dot_ssh/keys/github_personal.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINKal966nABRHParmjBURtssOl6TcpBAdi6LVvQMXBLv starrtyler88@gmail.com diff --git a/home/private_dot_ssh/keys/github_personal.tmpl b/home/private_dot_ssh/keys/github_personal.tmpl new file mode 100644 index 00000000..1380c9e4 --- /dev/null +++ b/home/private_dot_ssh/keys/github_personal.tmpl @@ -0,0 +1 @@ +"{{ (secret "Github Personal Secret" "NOTES") }}" diff --git a/provision/nixos/modules/desktop/sway.nix b/provision/nixos/modules/desktop/sway.nix index 35b6ed63..dc6fe217 100644 --- a/provision/nixos/modules/desktop/sway.nix +++ b/provision/nixos/modules/desktop/sway.nix @@ -59,9 +59,8 @@ in { mpv udiskie p7zip - ungoogled-chromium + pavucontrol ] ++ [ - pkgs-unstable.firefox pkgs-unstable.brave ]; From 8b29d16ec9f0cb5b2f0d06945e6aec0f4cb39af8 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Fri, 1 Sep 2023 22:30:57 -0700 Subject: [PATCH 2/4] fix secret --- home/private_dot_ssh/keys/github_personal.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/private_dot_ssh/keys/github_personal.tmpl b/home/private_dot_ssh/keys/github_personal.tmpl index 1380c9e4..5aba5b26 100644 --- a/home/private_dot_ssh/keys/github_personal.tmpl +++ b/home/private_dot_ssh/keys/github_personal.tmpl @@ -1 +1 @@ -"{{ (secret "Github Personal Secret" "NOTES") }}" +{{ (secret "Github Personal Secret" "NOTES") }} From b38b94bf0b7e9674def9301085ab93e44b1776c1 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Fri, 1 Sep 2023 23:30:20 -0700 Subject: [PATCH 3/4] issues --- provision/nixos/hosts/kestrel/home-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/provision/nixos/hosts/kestrel/home-configuration.nix b/provision/nixos/hosts/kestrel/home-configuration.nix index 3b5e7a48..11ed2e6f 100644 --- a/provision/nixos/hosts/kestrel/home-configuration.nix +++ b/provision/nixos/hosts/kestrel/home-configuration.nix @@ -4,6 +4,13 @@ home.homeDirectory = "/home/${user}"; programs.home-manager.enable = true; + # Setup git + programs.git = { + enable = true; + userName = "starr-dusT"; + userEmail = "starrtyler88@gmail.com" + }; + home.packages = with pkgs; [ chezmoi rbw From 61e4107019c993be0cfade01dbd12189c8816a98 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Fri, 1 Sep 2023 23:30:28 -0700 Subject: [PATCH 4/4] issues --- home/private_dot_ssh/keys/github_personal.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/private_dot_ssh/keys/github_personal.tmpl b/home/private_dot_ssh/keys/github_personal.tmpl index 5aba5b26..de3b247f 100644 --- a/home/private_dot_ssh/keys/github_personal.tmpl +++ b/home/private_dot_ssh/keys/github_personal.tmpl @@ -1 +1 @@ -{{ (secret "Github Personal Secret" "NOTES") }} +{{ (secret "Github - Personal Secret" "NOTES") }}