tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
Correctly split Yubikey modules how I intended
encode42.dev
1 week ago
2b192fb6
1322347c
+8
-4
2 changed files
expand all
collapse all
unified
split
config
common
yubikey.nix
desktop
yubikey.nix
+6
-4
config/common/yubikey.nix
···
1
1
-
{
2
2
-
programs.gnupg.agent = {
3
3
-
enable = true;
4
4
-
};
1
1
+
{ pkgs, ... }:
5
2
3
3
+
{
6
4
environment.shellInit = ''
7
5
gpg-connect-agent /bye
8
6
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
9
7
'';
8
8
+
9
9
+
environment.systemPackages = with pkgs; [
10
10
+
gnupg
11
11
+
];
10
12
}
+2
config/desktop/yubikey.nix
···
6
6
];
7
7
8
8
programs.gnupg.agent = {
9
9
+
enable = true;
10
10
+
9
11
enableSSHSupport = true;
10
12
};
11
13