From 2f471d22507ba0649bd7af03053800207906e5de Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 19 Jan 2025 15:14:19 -0800 Subject: [PATCH] feat(nixos): Lutris --- modules/nixos/programs/lutris/default.nix | 16 ++++++++++++++++ systems/x86_64-linux/nyx/default.nix | 1 + 2 files changed, 17 insertions(+) create mode 100644 modules/nixos/programs/lutris/default.nix diff --git a/modules/nixos/programs/lutris/default.nix b/modules/nixos/programs/lutris/default.nix new file mode 100644 index 0000000..ca84199 --- /dev/null +++ b/modules/nixos/programs/lutris/default.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + pkgs, + ... +}: let + cfg = config.marleyos.programs.lutris; +in { + options.marleyos.programs.lutris.enable = lib.mkEnableOption "lutris"; + + config = lib.mkIf cfg.enable { + environment.systemPackages = with pkgs; [ + lutris + ]; + }; +} diff --git a/systems/x86_64-linux/nyx/default.nix b/systems/x86_64-linux/nyx/default.nix index d6c22e7..a264889 100644 --- a/systems/x86_64-linux/nyx/default.nix +++ b/systems/x86_64-linux/nyx/default.nix @@ -20,6 +20,7 @@ in { programs = { fish = enabled; + lutris = enabled; nh = enabled; steam = enabled; };