diff --git a/nixos/container-host.nix b/nixos/container-host.nix index d99a5da4..b7446d28 100644 --- a/nixos/container-host.nix +++ b/nixos/container-host.nix @@ -51,8 +51,15 @@ _: { # Allow inbound traffic for the DHCP server networking.firewall.allowedUDPPorts = [67]; - users.users = { - # allow container access to zvol - container.extraGroups = ["disk"]; + users = { + groups.container = {}; + users = { + # allow container access to zvol + container = { + isSystemUser = true; + group = "container"; + extraGroups = ["disk"]; + }; + }; }; } diff --git a/vr/bs-manager.sh b/vr/bs-manager.sh index b1b57d7f..1582515d 100755 --- a/vr/bs-manager.sh +++ b/vr/bs-manager.sh @@ -1,2 +1,3 @@ -#!/usr/bin/env bash -steam-run env WINEPREFIX="$STEAM_DIR/steamapps/compatdata/620980/pfx" bs-manager +#! /usr/bin/env bash +#WINEPREFIX="$STEAM_DIR/steamapps/compatdata/620980/pfx" +steam-run bs-manager