AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
This commit is contained in:
parent
d9b7500324
commit
c7cb650a53
5 changed files with 9 additions and 18 deletions
|
@ -103,10 +103,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev = {
|
|
||||||
packages = [ pkgs.yubikey-personalization ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# this makes usb devices autosuspend
|
# this makes usb devices autosuspend
|
||||||
#powerManagement.powertop.enable = true;
|
#powerManagement.powertop.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
services = {
|
services = {
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
|
|
||||||
udev.packages = [ pkgs.yubikey-personalization ];
|
|
||||||
|
|
||||||
udisks2.enable = true;
|
udisks2.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev = {
|
|
||||||
packages = [ pkgs.yubikey-personalization ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# this makes usb devices autosuspend
|
# this makes usb devices autosuspend
|
||||||
#powerManagement.powertop.enable = true;
|
#powerManagement.powertop.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -104,10 +104,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.udev = {
|
|
||||||
packages = [ pkgs.yubikey-personalization ];
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.proxy = {
|
networking.proxy = {
|
||||||
inherit (inputs.work-secrets.proxy) default noProxy;
|
inherit (inputs.work-secrets.proxy) default noProxy;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# {
|
{
|
||||||
# config,
|
# config,
|
||||||
# ...
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# }: let
|
# }: let
|
||||||
# # inherit (config.poz.other.system) username;
|
# # inherit (config.poz.other.system) username;
|
||||||
# in {
|
# in {
|
||||||
_: {
|
|
||||||
security.pam = {
|
security.pam = {
|
||||||
services = {
|
services = {
|
||||||
login.u2fAuth = true;
|
login.u2fAuth = true;
|
||||||
|
@ -12,6 +13,10 @@ _: {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.udev = {
|
||||||
|
packages = [ pkgs.yubikey-personalization ];
|
||||||
|
};
|
||||||
|
|
||||||
# age.secrets.yubikey-u2f-keys.file = ../../secrets/yubikey-u2f-keys.age;
|
# age.secrets.yubikey-u2f-keys.file = ../../secrets/yubikey-u2f-keys.age;
|
||||||
|
|
||||||
# environment.etc."Yubico/u2f_keys".source = config.age.secrets.yubikey-u2f-keys.path;
|
# environment.etc."Yubico/u2f_keys".source = config.age.secrets.yubikey-u2f-keys.path;
|
||||||
|
|
Loading…
Reference in a new issue