This commit is contained in:
Henri Dohmen 2025-05-07 11:16:16 +02:00
parent b91a821829
commit 973a9e2751
5 changed files with 14 additions and 8 deletions

View file

@ -4,6 +4,7 @@
audio
boot
fonts
gpg
locale
network
nix-configuration

9
mod/gpg.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ seahorse ];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
}

View file

@ -1,9 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
environment.systemPackages = with pkgs; [ seahorse ];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-gtk2;
};
security.protectKernelImage = true;
}

View file

@ -7,4 +7,5 @@
openFirewall = true;
};
services.udisks2.enable = true;
services.emacs.enable = true;
}

View file

@ -17,7 +17,7 @@
shell = pkgs.fish;
packages = [ ];
};
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
users.users.root.hashedPassword = "!";
}