diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-05-14 00:34:00 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-05-14 00:41:04 -0600 |
commit | aed469cfec71246de775b82c72f28825045d737f (patch) | |
tree | 7e6ee5dd36fddaceba935853d91d3dc1c41499a2 /programs | |
parent | a197c85fed06afcb90a5daf77b2b9c15c988608c (diff) | |
download | cfg.nix-aed469cfec71246de775b82c72f28825045d737f.tar.gz cfg.nix-aed469cfec71246de775b82c72f28825045d737f.tar.xz |
move gnupg and mtr configuration into `programs`
The configurations for these applications was done in the root file for
each machine. This led to issues where each machine had different
behaviour, specifically, when it came to changes in GnuPG were
introduced after upgrading to 20.03. By moving these common
configurations into a separate file, each machine can be sure to have
similar configurations.
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'programs')
-rw-r--r-- | programs/gnupg.nix | 7 | ||||
-rw-r--r-- | programs/mtr.nix | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/programs/gnupg.nix b/programs/gnupg.nix new file mode 100644 index 0000000..bf4dc5a --- /dev/null +++ b/programs/gnupg.nix @@ -0,0 +1,7 @@ +{ config, ...}: +{ + programs.gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; +} diff --git a/programs/mtr.nix b/programs/mtr.nix new file mode 100644 index 0000000..03b5323 --- /dev/null +++ b/programs/mtr.nix @@ -0,0 +1,4 @@ +{ config, ... }: +{ + programs.mtr.enable = true; +} |