From a7fad6beb9bf092a68f4358dd35eb457ca0820dc Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 11 Oct 2024 16:39:58 -0400 Subject: [PATCH] containers: remove autostart with systemd.tmpfiles.rules At some point this started causing the /run/user/1000 directory to be deleted when changing container configurations, which was definitely not ideal. An alternative approach will have to be taken if we want the wine container to auto-start on boot. --- modules/containers.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/containers.nix b/modules/containers.nix index deabd7a3..d9b3c31e 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -14,7 +14,6 @@ let template = { privateNetwork = true; ephemeral = true; - autoStart = true; restartIfChanged = false; bindMounts = { @@ -52,8 +51,6 @@ let }; in { - systemd.tmpfiles.rules = [ "d /run/user/1000 0700 ${username} users -" ]; - environment.systemPackages = mkIf (pkgs.system == "x86_64-linux") ( with nix-config.inputs.sakaya.packages.${pkgs.system}; [ sakaya ] );