mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-29 06:07:54 +02:00
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.
This commit is contained in:
parent
38d090d550
commit
d1cb8c5731
@ -1,9 +1,14 @@
|
|||||||
{ stylix, home-manager, sakaya, ... }:
|
{ stylix, home-manager, sakaya, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /run/user/1000 0700 user users -"
|
||||||
|
];
|
||||||
|
|
||||||
containers.wine = {
|
containers.wine = {
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
ephemeral = true;
|
ephemeral = true;
|
||||||
|
autoStart = true;
|
||||||
hostAddress = "192.168.100.34";
|
hostAddress = "192.168.100.34";
|
||||||
localAddress = "192.168.100.49";
|
localAddress = "192.168.100.49";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user