mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
28 lines
619 B
Nix
28 lines
619 B
Nix
{ pkgs, lib, ... }: {
|
|
options.mods.containers.steam = {
|
|
enable = lib.mkEnableOption {
|
|
default = false;
|
|
description = "enables steam container";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf config.mods.container.steam.enable {
|
|
mods.containers.enable = true;
|
|
|
|
containers.steam = {
|
|
privateNetwork = true;
|
|
hostAddress = "192.168.1.107";
|
|
localAddress = "192.168.1.57";
|
|
config = { config, pkgs, lib, ... }: {
|
|
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
};
|
|
};
|
|
};
|
|
}
|