From 6e3d6da59d310c50a61474824bd7a9f60a17187f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 16 Feb 2024 00:10:50 +0100 Subject: desktop: add usbkey devices --- nixos/modules/desktop.nix | 8 +++++--- nixos/modules/generic.nix | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index 6979252..87dc12e 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -193,7 +193,7 @@ in { programs.usbkey = { enable = true; - devicesUUID = []; + devicesUUID = ["de269652-2070-46b2-84f8-409dc9dd50ee" "16a089d0-a663-4047-bd88-3885dd7fdee2"]; }; programs.gnupg.agent = { @@ -254,8 +254,10 @@ in { services.udev.extraRules = '' ACTION=="add|change", KERNEL=="sd*[!0-9]", ATTR{queue/scheduler}="bfq" ''; - hardware.opengl.driSupport = true; - hardware.opengl.driSupport32Bit = true; + hardware.opengl = { + driSupport = true; + driSupport32Bit = true; + }; hardware.bluetooth.enable = mkIf cnf.laptop true; diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 232fbda..a3e8dd1 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -164,7 +164,6 @@ in { } ]; networking.dhcpcd.extraConfig = "controlgroup wheel"; - environment.etc."dhcpcd.conf".text = "controlgroup wheel"; services.openssh.enable = true; -- cgit v1.2.3