switching back to nixpackages for now, try to setup proton ge

This commit is contained in:
Christoph Hollizeck 2024-05-17 22:26:15 +02:00
parent 6174314ea6
commit 304788ce34
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 47 additions and 38 deletions

View file

@ -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 = ''
{

View file

@ -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
];
};
}

View file

@ -1,8 +1,4 @@
{
config,
lib,
...
}:
{ config, lib, ... }:
with lib;
with lib.wyrdgard;
let