Initial nixos configuration
This commit is contained in:
parent
4e4edec989
commit
74b2ebd884
247 changed files with 206 additions and 36718 deletions
24
gpg.nix
Normal file
24
gpg.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
ssh.startAgent = false;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
pcscd.enable = true;
|
||||
udev.packages = [
|
||||
pkgs.yubikey-personalization
|
||||
];
|
||||
};
|
||||
|
||||
environment.shellInit = ''
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
export MARKON_MUUTTUJA="test"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue