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