Skyler Grey | 405ba49 | 2022-08-02 09:33:53 +0100 | [diff] [blame^] | 1 | { pkgs, ... }: let |
2 | lib = pkgs.lib; | ||||
3 | disabled = [ | ||||
4 | "libvirt" "docker" "lxc" # Can all be enabled by their sockets | ||||
5 | "i2p" "zeronet" # Rarely used | ||||
6 | "containerd" # Rarely used | ||||
7 | "openrazer-daemon" # Headphones have an intermittent hardware fault | ||||
8 | ]; | ||||
9 | in { | ||||
10 | systemd.services = builtins.listToAttrs ( | ||||
11 | map ( | ||||
12 | service: { | ||||
13 | name = service; | ||||
14 | value = { | ||||
15 | wantedBy = lib.mkForce [ ]; | ||||
16 | }; | ||||
17 | } | ||||
18 | ) disabled | ||||
19 | ); | ||||
20 | } |