about summary refs log tree commit diff
path: root/nixos/modules/programs/gamescope.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/gamescope.nix')
-rw-r--r--nixos/modules/programs/gamescope.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/modules/programs/gamescope.nix b/nixos/modules/programs/gamescope.nix
index a31295e736df2..594e5be5fd583 100644
--- a/nixos/modules/programs/gamescope.nix
+++ b/nixos/modules/programs/gamescope.nix
@@ -23,14 +23,7 @@ in
   options.programs.gamescope = {
     enable = mkEnableOption (mdDoc "gamescope");
 
-    package = mkOption {
-      type = types.package;
-      default = pkgs.gamescope;
-      defaultText = literalExpression "pkgs.gamescope";
-      description = mdDoc ''
-        The GameScope package to use.
-      '';
-    };
+    package = mkPackageOption pkgs "gamescope" { };
 
     capSysNice = mkOption {
       type = types.bool;