about summary refs log tree commit diff
path: root/modules/nixos/games/gamemode.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
commite6ed60548397627bf10f561f9438201dbba0a36e (patch)
treef9a84c5957d2cc4fcd148065ee9365a0c851ae1c /modules/nixos/games/gamemode.nix
parent2024-04-18 (diff)
2024-04-21
Diffstat (limited to 'modules/nixos/games/gamemode.nix')
-rw-r--r--modules/nixos/games/gamemode.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/nixos/games/gamemode.nix b/modules/nixos/games/gamemode.nix
deleted file mode 100644
index eb485f8..0000000
--- a/modules/nixos/games/gamemode.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ config, lib, ... }:
-with lib;
-let
-  cfg = config.nixfiles.modules.games.gamemode;
-in
-{
-  options.nixfiles.modules.games.gamemode.enable = mkEnableOption "Feral GameMode";
-
-  config = mkIf cfg.enable {
-    hm.xdg.configFile."gamemode.ini".text = generators.toINI { } { general.softrealtime = "auto"; };
-
-    programs.gamemode.enable = true;
-  };
-}

Consider giving Nix/NixOS a try! <3