Compare commits

...

3 Commits

Author SHA1 Message Date
10ae9082ba Add nvf persistence
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-08-29 14:00:43 +00:00
85a62a84da Add hyprsunset
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-08-29 13:54:28 +00:00
6883541678 Update gpg pinentry
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-08-29 13:54:07 +00:00
9 changed files with 32 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
enable = true;
defaultCacheTtl = 31536000;
maxCacheTtl = 31536000;
pinentry.package = pkgs.pinentry-tty;
};
systemd.user = {

View File

@@ -1,6 +1,11 @@
{ user, home }:
{ inputs, ... }:
{
environment.persistence = {
"/persist/state"."${home}/.local/share/nvf" = { };
"/persist/cache"."${home}/.cache/nvf" = { };
};
home-manager.users.${user} = {
imports = [ inputs.nvf.homeManagerModules.default ];

View File

@@ -0,0 +1,5 @@
{ user, home }:
{ ... }:
{
home-manager.users.${user}.services.hyprsunset.enable = true;
}

View File

@@ -25,6 +25,8 @@ in
ms-vsliveshare.vsliveshare
ms-vscode-remote.remote-ssh
naumovs.color-highlight
# FIXME: https://github.com/microsoft/vscode/issues/130415
wdhongtw.gpg-indicator
];
userSettings = {

View File

@@ -36,8 +36,5 @@ in
"Personal GPG Passphrase".source = hmConfig.sops.secrets."gpg/personal/pass".path;
"SAS GPG Passphrase".source = hmConfig.sops.secrets."gpg/sas/pass".path;
};
home.packages = [ pkgs.gcr ];
services.gpg-agent.pinentry.package = pkgs.pinentry-gnome3;
};
}

View File

@@ -73,6 +73,7 @@ in
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
(import ../../../common/configs/user/gui/hyprsunset { inherit user home; })
(import ../../../common/configs/user/gui/kitty { inherit user home; })
(import ../../../common/configs/user/gui/libreoffice { inherit user home; })
(import ../../../common/configs/user/gui/mpv { inherit user home; })

View File

@@ -86,6 +86,10 @@ final: prev:
gitlab = final.ssh-known-hosts-gitlab;
};
vscode-extensions = prev.vscode-extensions or { } // {
wdhongtw.gpg-indicator = final.vscode-extension-wdhongtw-gpg-indicator;
};
yaziPlugins = prev.yaziPlugins or { } // {
custom-shell = final.yazi-plugin-custom-shell;
};

View File

@@ -89,6 +89,10 @@
ssh-known-hosts-github = import ./ssh/known-hosts/github { inherit pkgs; };
ssh-known-hosts-gitlab = import ./ssh/known-hosts/gitlab { inherit pkgs; };
vscode-extension-wdhongtw-gpg-indicator = import ./vscode/extensions/gpg-indicator {
inherit pkgs;
};
wsl-wl-clipboard = import ./wsl-wl-clipboard { inherit pkgs; };
yazi-plugin-custom-shell = import ./yazi/plugins/custom-shell { inherit pkgs; };

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
# AUTO-UPDATE: nix-update --flake vscode-extension-wdhongtw-gpg-indicator
pkgs.vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "wdhongtw";
name = "gpg-indicator";
version = "0.7.5";
hash = "sha256-gRwpU/KQj/5eYIJe6BORERIkiLV8Chz7+gJMqb08+J0=";
};
}