Package steam controller udev
This commit is contained in:
parent
5e2ef02249
commit
60d3384769
@ -1,7 +1,7 @@
|
|||||||
self: super:
|
self: super:
|
||||||
|
|
||||||
{
|
{
|
||||||
steamcontroller-udev-rules = pkgs.writeTextFile {
|
steamcontroller-udev-rules = super.writeTextFile {
|
||||||
name = "steamcontroller-udev-rules";
|
name = "steamcontroller-udev-rules";
|
||||||
text = ''
|
text = ''
|
||||||
# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation
|
# This rule is needed for basic functionality of the controller in Steam and keyboard/mouse emulation
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
(import ../../overlays/sudo.nix)
|
(import ../../overlays/sudo.nix)
|
||||||
(import ../../overlays/neovim.nix)
|
(import ../../overlays/neovim.nix)
|
||||||
(import ../../overlays/steam.nix)
|
(import ../../overlays/steam.nix)
|
||||||
|
(import ../../overlays/steamcontroller-udev-rules.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
@ -27,6 +28,8 @@
|
|||||||
|
|
||||||
hardware.u2f.enable = true;
|
hardware.u2f.enable = true;
|
||||||
|
|
||||||
|
services.udev.packages = [pkgs.steamcontroller-udev-rules];
|
||||||
|
|
||||||
networking.hostName = "rog-paul"; # Define your hostname.
|
networking.hostName = "rog-paul"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true; # Enables wireless support via wpa_supplicant.
|
networking.networkmanager.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user