Skip to content

Commit

Permalink
had to fix gpg signing for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 31, 2024
1 parent 4a00c45 commit fd21c8a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
9 changes: 9 additions & 0 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@

services.tailscale.enable = true;

services.pcscd.enable = true;
programs.gnupg.agent = {
pinentryPackage = pkgs.pinentry-curses;
enable = true;
enableSSHSupport = true;
};

services.dnscrypt-proxy2 = {
enable = true;
settings = {
Expand Down Expand Up @@ -142,6 +149,8 @@

# System packages
environment.systemPackages = with pkgs; [
gnupg
pinentry-curses
fish
home-manager
python311
Expand Down
11 changes: 8 additions & 3 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ in
};
extraConfig = {
user.signingkey = "1D68343249781AD9";
gpg.program = "gpg";
commit.gpgsign = true;
core.editor = "nvim";
core.autocrlf = "input";
Expand All @@ -65,14 +66,19 @@ in
stateVersion = "24.05";

packages = with pkgs; [
thunderbird-128
signal-desktop
keepassxc
nixfmt-rfc-style
htop
kubectl
unzip
dig
pinentry-all
jq
devbox
file
gnupg
opentofu
tor-browser
ansible
Expand All @@ -91,9 +97,8 @@ in
pre-commit
nodejs_20
yarn
(python312.withPackages (p: [
p.conda
]))
nix-index
(python312.withPackages (p: [ p.conda ]))
];

file = {
Expand Down
15 changes: 7 additions & 8 deletions home-manager/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,17 @@
"--profile"
"black"
];
"pylint.args" = [
"--disable=C0116,C0114,C0301"
];
"flake8.args" = [
"--ignore=E501,E203"
];
"pylint.args" = [ "--disable=C0116,C0114,C0301" ];
"flake8.args" = [ "--ignore=E501,E203" ];
"explorer.confirmDragAndDrop" = false;
"redhat.telemetry.enabled"= false;
"redhat.telemetry.enabled" = false;
"telemetry.telemetryLevel" = "off";
"settingsSync.keybindingsPerPlatform" = false;
"yaml.schemas" = {
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.4-standalone-strict/all.json"= [ "**/templates/*.yaml" "**/templates/*.yml"];
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.4-standalone-strict/all.json" = [
"**/templates/*.yaml"
"**/templates/*.yml"
];
};
"editor.lineNumbers" = "relative";
"workbench.iconTheme" = "file-icons";
Expand Down

0 comments on commit fd21c8a

Please sign in to comment.