summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew@andrew-montgomery.dev>2026-06-30 13:52:50 -0400
committerSkullheadx <andrew@andrew-montgomery.dev>2026-06-30 13:52:50 -0400
commit9694a26952cb31f78f7acc068bec135e54167016 (patch)
tree9dad8614e27a202b47701e69a977fdfba6803d26
parentformat on save (diff)
downloadnixos-9694a26952cb31f78f7acc068bec135e54167016.tar.gz
nixos-9694a26952cb31f78f7acc068bec135e54167016.tar.bz2
nixos-9694a26952cb31f78f7acc068bec135e54167016.zip
use gnupg for password store and irc password
for work computers, just make a new gnupg key since the passwords should go away once you leave and reset the computer
-rw-r--r--common-darwin.nix13
-rw-r--r--irc.nix2
2 files changed, 14 insertions, 1 deletions
diff --git a/common-darwin.nix b/common-darwin.nix
index 9170c92..c4b49ac 100644
--- a/common-darwin.nix
+++ b/common-darwin.nix
@@ -38,6 +38,7 @@
EDITOR = "nvim";
VISUAL = "nvim";
};
+
nix.gc = {
automatic = true;
interval.Day = 7;
@@ -50,6 +51,18 @@
enable = true;
};
+ programs.gnupg = {
+ agent = {
+ enable = true;
+ enableSSHSupport = true;
+ # enableBrowserSocket = true;
+ # settings = {
+ # default-cache-ttl = 86400;
+ # max-cache-ttl = 604800;
+ # };
+ };
+ };
+
fonts.packages = with pkgs; [
fira-code
nerd-fonts.fira-code
diff --git a/irc.nix b/irc.nix
index b590aff..a897e1f 100644
--- a/irc.nix
+++ b/irc.nix
@@ -9,7 +9,7 @@
hjem.users.${username} = {
files = {
- ".config/senpai/senpai.scfg".source = ./dotfiles/senpai/senpai-untrusted.scfg;
+ ".config/senpai/senpai.scfg".source = ./dotfiles/senpai/senpai.scfg;
};
packages = with pkgs; [