mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-07 08:55:24 +01:00
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:
parent
043e901711
commit
a7fad6beb9
@ -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 ]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user