From 252822197ff90bf63f1e009b04a4c3ea3d604392 Mon Sep 17 00:00:00 2001 From: Tim Cuthbertson Date: Mon, 26 Sep 2022 22:19:40 +1000 Subject: [PATCH] I don't think I needed that... --- nix/modules/services.nix | 15 --------------- root/systemd/all.gup | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/nix/modules/services.nix b/nix/modules/services.nix index cf7a149..7c00f8d 100644 --- a/nix/modules/services.nix +++ b/nix/modules/services.nix @@ -124,19 +124,4 @@ in { OnStartupSec=5min Persistent=true ''; - - xdg.configFile."systemd/system/modprobe-uinput.service".text = '' - # workaround for https://github.com/chrippa/ds4drv/issues/93 - [Service] - ExecStart=modprobe uinput - Restart=no - ''; - - xdg.configFile."systemd/system/modprobe-uinput.timer".text = '' - [Install] - WantedBy=multi-user.target - - [Timer] - OnBootSec=20sec - ''; } diff --git a/root/systemd/all.gup b/root/systemd/all.gup index 1d6f4b7..7a9a9c5 100644 --- a/root/systemd/all.gup +++ b/root/systemd/all.gup @@ -4,7 +4,7 @@ dir="$nix/home-files/.config/systemd/system" if [ ! -e "$nix" ]; then gup -u "$nix" fi -units=(borg.timer borg.service modprobe-uinput.timer modprobe-uinput.service) +units=(borg.timer borg.service) for unit in "${units[@]}"; do gup -u "$dir/$unit" sudo cp --dereference "$dir/$unit" /etc/systemd/system/