Package steam controller udev

This commit is contained in:
nyanloutre 2018-08-31 22:47:06 +02:00
parent 5e2ef02249
commit 60d3384769
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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.