base: move gpg agent to gui programs

It'll only get used on machines I can physically access
This commit is contained in:
Antoine Martin 2022-11-14 20:30:51 +01:00
parent fd9cd57ff6
commit d8573cad9e
2 changed files with 6 additions and 5 deletions

View file

@ -20,6 +20,12 @@ in {
config = mkIf config.my.gui.enable { config = mkIf config.my.gui.enable {
my.displayManager.sddm.enable = true; my.displayManager.sddm.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gnome3";
};
services = { services = {
xserver = { xserver = {
enable = true; enable = true;

View file

@ -1,11 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
programs = { programs = {
fish.enable = true; fish.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "gnome3";
};
less.enable = true; less.enable = true;
mosh.enable = true; mosh.enable = true;