updates post explanation fatberoo

This commit is contained in:
chem 2025-08-25 21:25:43 -06:00
parent 82f58738ad
commit 62cd093202
17 changed files with 17 additions and 178 deletions

View file

@ -12,11 +12,6 @@ in {
};
config = mkIf cfg.enable {
services = {
xserver = {
enable = true;
xkb.layout = "us";
displayManager.startx.enable = true;
};
libinput.enable = true;
};

View file

@ -1,44 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.sys.yubikey;
in {
options.local.sys.yubikey = {
enable = mkEnableOption "yubikey settings";
};
config = mkIf cfg.enable {
services = {
pcscd.enable = true;
udev.packages = [pkgs.yubikey-personalization];
};
environment.etc."pkcs11/modules/ykcs11".text = ''
module: ${pkgs.yubico-piv-tool}/lib/libykcs11.so
'';
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
security.pam = {
services = {
login.u2fAuth = true;
sudo.u2fAuth = true;
};
u2f = {
enable = true;
control = "sufficient";
settings = {
debug = false;
cue = true;
};
};
};
};
}

View file

@ -14,7 +14,6 @@
local.sys = {
baseline.enable = true;
yubikey.enable = true;
audio.enable = true;
graphics.enable = true;
virtualisation.enable = true;
@ -25,7 +24,6 @@
users = {
chem = {
enable = true;
unixId = 1002;
};
};
};