Format nix files with nix-fmt

This commit is contained in:
Marko Korhonen 2024-09-16 20:52:24 +03:00
parent 25a48b5694
commit 53c956d53e
10 changed files with 149 additions and 163 deletions

36
gpg.nix
View file

@ -1,24 +1,24 @@
{ pkgs, ... }:
{
programs = {
ssh.startAgent = false;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
programs = {
ssh.startAgent = false;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services = {
pcscd.enable = true;
udev.packages = [
pkgs.yubikey-personalization
];
};
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"
'';
environment.shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export MARKON_MUUTTUJA="test"
'';
}