feat: Quake Live config

This commit is contained in:
Madeleine Sydney
2025-05-06 11:35:47 -06:00
parent 5288136bf3
commit 7f5840403a
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ config, lib, pkgs, inputs, ... }:
let cfg = config.sydnix.users.crumb.quake-live;
in {
options.sydnix.users.crumb.quake-live = {
enable = lib.mkEnableOption "Madeleine's Quake Live config";
};
config = lib.mkIf cfg.enable
(let
steam-id = "76561198337705174";
cfg-dir = ".local/share/Steam/steamapps/common/Quake Live/${steam-id}/baseq3";
my-autoexec = ./quake-live/autoexec.cfg;
in {
home.file."${cfg-dir}/autoexec.cfg".source = my-autoexec;
});
}

View File

@@ -44,6 +44,7 @@
ghostty.enable = true;
readline.enable = true;
tf2.enable = true;
quake-live.enable = true;
};
steam.enable = true;
};