From d1cb8c573199d3273bb394fbb9491a84c5bc83a4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 1 Aug 2023 22:21:59 -0400 Subject: [PATCH] containers(wine): Autostart with tmpfiles This change makes it possible to autostart the wine container without receiving errors and not being able to use /run/user/1000. --- containers/wine.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/containers/wine.nix b/containers/wine.nix index 64a1a95..69dcbd5 100644 --- a/containers/wine.nix +++ b/containers/wine.nix @@ -1,9 +1,14 @@ { stylix, home-manager, sakaya, ... }: { + systemd.tmpfiles.rules = [ + "d /run/user/1000 0700 user users -" + ]; + containers.wine = { privateNetwork = true; ephemeral = true; + autoStart = true; hostAddress = "192.168.100.34"; localAddress = "192.168.100.49";