diff options
Diffstat (limited to '')
-rw-r--r-- | system/default.nix | 2 | ||||
-rw-r--r-- | system/graphics/default.nix | 18 | ||||
-rw-r--r-- | system/hardware/default.nix | 21 |
3 files changed, 22 insertions, 19 deletions
diff --git a/system/default.nix b/system/default.nix index 3609dcd4..a417aecc 100644 --- a/system/default.nix +++ b/system/default.nix @@ -8,7 +8,7 @@ ./sound ./users # the position of this item is fully arbitrary ./polkit - ./graphics + ./hardware ./services ./tempfiles ]; diff --git a/system/graphics/default.nix b/system/graphics/default.nix deleted file mode 100644 index 28f958c1..00000000 --- a/system/graphics/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - pkgs, - ... -}: { - hardware.opengl = { - enable = true; - extraPackages = builtins.attrValues { - inherit - (pkgs) - vaapiVdpau - libvdpau-va-gl - ; - }; - }; -} -# vim: ts=2 - diff --git a/system/hardware/default.nix b/system/hardware/default.nix new file mode 100644 index 00000000..f41ba756 --- /dev/null +++ b/system/hardware/default.nix @@ -0,0 +1,21 @@ +{ + config, + pkgs, + ... +}: { + hardware = { + onlykey.enable = true; + opengl = { + enable = true; + extraPackages = builtins.attrValues { + inherit + (pkgs) + vaapiVdpau + libvdpau-va-gl + ; + }; + }; + }; +} +# vim: ts=2 + |