From f0154409a199152522818e70f23a75b49fcdff5d Mon Sep 17 00:00:00 2001 From: nikstur Date: Thu, 12 Oct 2023 23:57:25 +0200 Subject: nixos/nix-daemon: remove activationScript The activationScript does not seem to be necessary anymore as the paths are created anyways. --- nixos/modules/services/system/nix-daemon.nix | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nixos/modules/services/system') diff --git a/nixos/modules/services/system/nix-daemon.nix b/nixos/modules/services/system/nix-daemon.nix index c9df20196dbd9..ce255cd8d0a46 100644 --- a/nixos/modules/services/system/nix-daemon.nix +++ b/nixos/modules/services/system/nix-daemon.nix @@ -249,11 +249,6 @@ in services.xserver.displayManager.hiddenUsers = attrNames nixbldUsers; - system.activationScripts.nix = stringAfter [ "etc" "users" ] - '' - install -m 0755 -d /nix/var/nix/{gcroots,profiles}/per-user - ''; - # Legacy configuration conversion. nix.settings = mkMerge [ (mkIf (isNixAtLeast "2.3pre") { sandbox-fallback = false; }) -- cgit 1.4.1