From 53a901c95e2265e082a082f5836188ac8d15eab6 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Tue, 13 Feb 2024 21:22:25 +0100 Subject: [PATCH] fix build --- common.nix | 6 +++--- hosts/catbook-j/configuration.nix | 9 +++++++++ hosts/potatobook-g/configuration.nix | 2 +- modules/desktop/default.nix | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/common.nix b/common.nix index 44987f9..921f0a7 100644 --- a/common.nix +++ b/common.nix @@ -29,8 +29,8 @@ with builtins; { environment = { systemPackages = with pkgs; [ - pynitrokey - nitrokey-app2 + # pynitrokey + # nitrokey-app2 veracrypt @@ -145,7 +145,7 @@ with builtins; { opengl.enable = true; uinput.enable = true; bluetooth.enable = true; - keyboard.uhk.enable = true; + # keyboard.uhk.enable = true; }; security.rtkit.enable = true; diff --git a/hosts/catbook-j/configuration.nix b/hosts/catbook-j/configuration.nix index 69a6e68..64b4fa6 100644 --- a/hosts/catbook-j/configuration.nix +++ b/hosts/catbook-j/configuration.nix @@ -113,6 +113,15 @@ # Enable networking networking.networkmanager.enable = true; + security.pam.services.jade.u2fAuth = true; + programs.i3lock.u2fSupport = true; + security.pam.u2f = { + enable = true; + cue = true; + control = "sufficient"; + authFile = "/home/jade/.ssh/u2f_keys"; + }; + i18n.extraLocaleSettings = { LC_ADDRESS = "de_DE.UTF-8"; LC_IDENTIFICATION = "de_DE.UTF-8"; diff --git a/hosts/potatobook-g/configuration.nix b/hosts/potatobook-g/configuration.nix index 47ef40f..28a2e87 100644 --- a/hosts/potatobook-g/configuration.nix +++ b/hosts/potatobook-g/configuration.nix @@ -98,7 +98,7 @@ }; }; - hardware.keyboard.uhk.enable = true; + # hardware.keyboard.uhk.enable = true; hardware.enableRedistributableFirmware = true; environment.systemPackages = with pkgs; [ diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 8c12059..fe7fff2 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -138,7 +138,7 @@ in xdotool xorg.xwininfo gparted - uhk-agent + # uhk-agent cool-retro-term xdg-desktop-portal-gtk virt-manager