aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-02-16 00:10:50 +0100
committerKarel Kočí <cynerd@email.cz>2024-02-16 00:10:50 +0100
commit6e3d6da59d310c50a61474824bd7a9f60a17187f (patch)
tree3dd2d11d76243a55182e3c0d04afb97f6f4cd945 /nixos/modules
parent0826536ccda6729152eeb7c8cff9b32fb51405e7 (diff)
downloadnixos-personal-6e3d6da59d310c50a61474824bd7a9f60a17187f.tar.gz
nixos-personal-6e3d6da59d310c50a61474824bd7a9f60a17187f.tar.bz2
nixos-personal-6e3d6da59d310c50a61474824bd7a9f60a17187f.zip
desktop: add usbkey devices
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/desktop.nix8
-rw-r--r--nixos/modules/generic.nix1
2 files changed, 5 insertions, 4 deletions
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;