switching back to nixpackages for now, try to setup proton ge
This commit is contained in:
parent
6174314ea6
commit
304788ce34
5 changed files with 47 additions and 38 deletions
|
@ -19,9 +19,15 @@ in
|
|||
environment.systemPackages = with pkgs; [ factorio-headless ];
|
||||
sops = {
|
||||
secrets = {
|
||||
factorio_token = { restartUnits = ["factorio.service"]; };
|
||||
factorio_username = { restartUnits = ["factorio.service"]; };
|
||||
factorio_game_password = { restartUnits = ["factorio.service"]; };
|
||||
factorio_token = {
|
||||
restartUnits = [ "factorio.service" ];
|
||||
};
|
||||
factorio_username = {
|
||||
restartUnits = [ "factorio.service" ];
|
||||
};
|
||||
factorio_game_password = {
|
||||
restartUnits = [ "factorio.service" ];
|
||||
};
|
||||
};
|
||||
templates."extraSettingsFile.json".content = ''
|
||||
{
|
||||
|
|
|
@ -16,9 +16,16 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam.enable = true;
|
||||
programs.steam.remotePlay.openFirewall = true;
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ steam ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
steam
|
||||
protontricks
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue