Disable some useless services
diff --git a/src/nix/system/disable-services.nix b/src/nix/system/disable-services.nix
new file mode 100644
index 0000000..3a01f57
--- /dev/null
+++ b/src/nix/system/disable-services.nix
@@ -0,0 +1,20 @@
+{ pkgs, ... }: let
+ lib = pkgs.lib;
+ disabled = [
+ "libvirt" "docker" "lxc" # Can all be enabled by their sockets
+ "i2p" "zeronet" # Rarely used
+ "containerd" # Rarely used
+ "openrazer-daemon" # Headphones have an intermittent hardware fault
+ ];
+in {
+ systemd.services = builtins.listToAttrs (
+ map (
+ service: {
+ name = service;
+ value = {
+ wantedBy = lib.mkForce [ ];
+ };
+ }
+ ) disabled
+ );
+}