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.
This commit is contained in:
Donovan Glover 2024-10-11 16:39:58 -04:00
parent 043e901711
commit a7fad6beb9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 ]
);