Compare commits
2 commits
cf34acefe0
...
e9274202bb
Author | SHA1 | Date | |
---|---|---|---|
e9274202bb | |||
4c0cabe4ba |
3 changed files with 24 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./nvidia
|
||||
./yubikey
|
||||
];
|
||||
}
|
||||
|
|
17
nixos/modules/hardware/yubikey/default.nix
Normal file
17
nixos/modules/hardware/yubikey/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sisyphus.hardware.yubikey;
|
||||
in {
|
||||
options.sisyphus.hardware.yubikey.enable = lib.mkEnableOption "YubiKey support";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Enable smart card reading
|
||||
services.pcscd.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,10 +1,15 @@
|
|||
[user]
|
||||
name = "Tibo De Peuter"
|
||||
email = "tibo.depeuter@gmail.com"
|
||||
email = "tibo@depeuter.dev"
|
||||
signingkey = "0x9B11F5243089DB5B"
|
||||
|
||||
[color]
|
||||
ui = true
|
||||
|
||||
[commit]
|
||||
# Always sign commits
|
||||
gpgsign = true
|
||||
|
||||
[core]
|
||||
editor = "vim";
|
||||
excludesFile = "~/.config/git/ignore"
|
||||
|
|
Loading…
Reference in a new issue