framework for yubikey but nothing done yet
This commit is contained in:
parent
2e89390dd0
commit
5848a4e3f8
3 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,7 @@ in {
|
||||||
./utils
|
./utils
|
||||||
./vm
|
./vm
|
||||||
./website
|
./website
|
||||||
|
./yubikey
|
||||||
];
|
];
|
||||||
|
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
|
|
11
modules/yubikey/default.nix
Normal file
11
modules/yubikey/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
inherit (config) conf;
|
||||||
|
in
|
||||||
|
mkIf conf.yuibkey.enable {
|
||||||
|
}
|
|
@ -14,6 +14,7 @@ in {
|
||||||
extraLayout.enable = mkEnableOption "Enable additional custom layout.";
|
extraLayout.enable = mkEnableOption "Enable additional custom layout.";
|
||||||
fonts.enable = mkEnableOption "Install and set preferred fonts";
|
fonts.enable = mkEnableOption "Install and set preferred fonts";
|
||||||
networkmanager.enable = mkEnableOption "Enable network manager and some related configuration";
|
networkmanager.enable = mkEnableOption "Enable network manager and some related configuration";
|
||||||
|
yubikey.enable = mkEnableOption "Enable support for yubikey";
|
||||||
|
|
||||||
# Generally server options
|
# Generally server options
|
||||||
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh.";
|
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh.";
|
||||||
|
|
Loading…
Add table
Reference in a new issue