Compare commits
3 Commits
2292c5663c
...
10ae9082ba
Author | SHA1 | Date | |
---|---|---|---|
10ae9082ba
|
|||
85a62a84da
|
|||
6883541678
|
@@ -20,6 +20,7 @@
|
||||
enable = true;
|
||||
defaultCacheTtl = 31536000;
|
||||
maxCacheTtl = 31536000;
|
||||
pinentry.package = pkgs.pinentry-tty;
|
||||
};
|
||||
|
||||
systemd.user = {
|
||||
|
@@ -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 ];
|
||||
|
||||
|
5
hosts/common/configs/user/gui/hyprsunset/default.nix
Normal file
5
hosts/common/configs/user/gui/hyprsunset/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ user, home }:
|
||||
{ ... }:
|
||||
{
|
||||
home-manager.users.${user}.services.hyprsunset.enable = true;
|
||||
}
|
@@ -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 = {
|
||||
|
@@ -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;
|
||||
};
|
||||
}
|
||||
|
@@ -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; })
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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; };
|
||||
|
10
packages/vscode/extensions/gpg-indicator/default.nix
Normal file
10
packages/vscode/extensions/gpg-indicator/default.nix
Normal 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=";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user