Skip to content

Commit

Permalink
I don't think I needed that...
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Sep 26, 2022
1 parent f2bfe36 commit 2528221
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions nix/modules/services.nix
Expand Up @@ -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
'';
}
2 changes: 1 addition & 1 deletion root/systemd/all.gup
Expand Up @@ -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/
Expand Down

0 comments on commit 2528221

Please sign in to comment.