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;
});
}