summaryrefslogtreecommitdiff
path: root/nixos/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/services.nix')
-rw-r--r--nixos/services.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/nixos/services.nix b/nixos/services.nix
deleted file mode 100644
index 908913c..0000000
--- a/nixos/services.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ lib, config, pkgs, ... }:
-
-{
- # List services that you want to enable:
-
- # Enable the OpenSSH daemon.
- # services.openssh.enable = true;
-
- systemd.services = {
- nix-gc-remove-dead-roots = {
- enable = true;
- description = "Remove dead symlinks in /nix/var/nix/gcroots";
-
- serviceConfig.Type = "oneshot";
-
- script = "find /nix/var/nix/gcroots -xtype l -delete";
-
- before = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ];
- wantedBy = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ];
- };
-
- nixos-upgrade.unitConfig = {
- CPUWeight = 1;
- };
- };
-
- # virtualisation.docker.enable = true;
-}