summaryrefslogtreecommitdiffstats
path: root/modules/desktop/apps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/apps')
-rw-r--r--modules/desktop/apps/games/freeciv.nix24
-rw-r--r--modules/desktop/apps/games/lunati.nix (renamed from modules/desktop/apps/games/unciv.nix)8
-rw-r--r--modules/desktop/apps/games/steam.nix5
3 files changed, 9 insertions, 28 deletions
diff --git a/modules/desktop/apps/games/freeciv.nix b/modules/desktop/apps/games/freeciv.nix
deleted file mode 100644
index cb5e462..0000000
--- a/modules/desktop/apps/games/freeciv.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- config,
- options,
- lib,
- pkgs,
- rootPath,
- ...
-}: let
- freecivConf = config.modules.desktop.apps.games.freeciv;
- configDir = config.nixosConfig.configDir;
-in {
- options.modules.desktop.apps.games.freeciv = {
- enable = lib.mkOption {
- type = lib.types.bool;
- default = false;
- };
- };
-
- config = lib.mkIf (freecivConf.enable) {
- home.packages = with pkgs; [
- (callPackage (rootPath + /packages/freeciv/default.nix) {})
- ];
- };
-}
diff --git a/modules/desktop/apps/games/unciv.nix b/modules/desktop/apps/games/lunati.nix
index 1eec540..1c06b4f 100644
--- a/modules/desktop/apps/games/unciv.nix
+++ b/modules/desktop/apps/games/lunati.nix
@@ -6,19 +6,19 @@
rootPath,
...
}: let
- uncivConf = config.modules.desktop.apps.games.unciv;
+ luantiConf = config.modules.desktop.apps.games.luanti;
configDir = config.nixosConfig.configDir;
in {
- options.modules.desktop.apps.games.unciv = {
+ options.modules.desktop.apps.games.luanti = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
};
};
- config = lib.mkIf (uncivConf.enable) {
+ config = lib.mkIf (luantiConf.enable) {
home.packages = with pkgs; [
- (callPackage (rootPath + /packages/unciv/default.nix) {})
+ luanti
];
};
}
diff --git a/modules/desktop/apps/games/steam.nix b/modules/desktop/apps/games/steam.nix
index 50b5c62..51396f1 100644
--- a/modules/desktop/apps/games/steam.nix
+++ b/modules/desktop/apps/games/steam.nix
@@ -29,6 +29,11 @@ in {
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
+ protontricks.enable = true;
};
+
+ environment.systemPackages = with pkgs; [
+ protonup-qt
+ ];
};
}