add yubikey
This commit is contained in:
parent
49cdb024fb
commit
6034938775
@ -2,8 +2,9 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./plasma.nix
|
||||
./firefox.nix
|
||||
./plasma.nix
|
||||
./yubikey.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
||||
10
home/jonas/yubikey.nix
Normal file
10
home/jonas/yubikey.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
settings = {
|
||||
enable-ssh-support = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -12,6 +12,7 @@
|
||||
../../modules/hardware/bluetooth.nix
|
||||
../../modules/hardware/printing.nix
|
||||
../../modules/hardware/sound.nix
|
||||
../../modules/hardware/yubikey.nix
|
||||
../../modules/services/docker.nix
|
||||
../../modules/desktop/dm
|
||||
../../modules/desktop/de
|
||||
|
||||
13
modules/hardware/yubikey.nix
Normal file
13
modules/hardware/yubikey.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# Include udev rules for yubikey.
|
||||
services.udev.packages = with pkgs; [
|
||||
yubikey-personalization
|
||||
];
|
||||
|
||||
# OTP Manager
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubioath-flutter
|
||||
];
|
||||
services.pcscd.enable = true;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user