about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2024-01-18 17:44:01 -0500
committerKira Bruneau <kira.bruneau@pm.me>2024-01-18 18:06:36 -0500
commitb250e162d6683deffab11c965ac04f5eb9943c66 (patch)
tree3e1764c27b9de2100cdf50ede6dc4ad53af223ad /nixos/modules/programs
parentb06ff4bf8f4ad900fe0c2a61fc2946edc3a84be7 (diff)
downloadnixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar.gz
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar.bz2
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar.lz
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar.xz
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.tar.zst
nixlib-b250e162d6683deffab11c965ac04f5eb9943c66.zip
nixos/gamemode: add gamemode group
Gamemode 1.8 requires users to be in the gamemode group to set the CPU
governor, so we should automatically create it when it's enabled.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/gamemode.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/gamemode.nix b/nixos/modules/programs/gamemode.nix
index 344f392852e2..2bb92ed8e0ef 100644
--- a/nixos/modules/programs/gamemode.nix
+++ b/nixos/modules/programs/gamemode.nix
@@ -90,6 +90,8 @@ in
         ];
       };
     };
+
+    users.groups.gamemode = { };
   };
 
   meta = {