security
This commit is contained in:
parent
b91a821829
commit
973a9e2751
5 changed files with 14 additions and 8 deletions
|
|
@ -4,6 +4,7 @@
|
|||
audio
|
||||
boot
|
||||
fonts
|
||||
gpg
|
||||
locale
|
||||
network
|
||||
nix-configuration
|
||||
|
|
|
|||
9
mod/gpg.nix
Normal file
9
mod/gpg.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ seahorse ];
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-gtk2;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ seahorse ];
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-gtk2;
|
||||
};
|
||||
security.protectKernelImage = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@
|
|||
openFirewall = true;
|
||||
};
|
||||
services.udisks2.enable = true;
|
||||
services.emacs.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
shell = pkgs.fish;
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
|
||||
|
||||
users.users.root.hashedPassword = "!";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue