feat(nixos): Lutris
This commit is contained in:
parent
032f595f7e
commit
2f471d2250
2 changed files with 17 additions and 0 deletions
16
modules/nixos/programs/lutris/default.nix
Normal file
16
modules/nixos/programs/lutris/default.nix
Normal file
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -20,6 +20,7 @@ in {
|
|||
|
||||
programs = {
|
||||
fish = enabled;
|
||||
lutris = enabled;
|
||||
nh = enabled;
|
||||
steam = enabled;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue