lutris: module init
This commit is contained in:
parent
7231441858
commit
32a5792162
2 changed files with 22 additions and 7 deletions
19
home/modules/lutris.nix
Normal file
19
home/modules/lutris.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.snowhawk.lutris;
|
||||
in
|
||||
{
|
||||
options.snowhawk.lutris = {
|
||||
enable = lib.mkEnableOption "lutris";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
(inputs.umu.packages.${pkgs.system}.umu.override
|
||||
{ version = "${inputs.umu.shortRev}"; })
|
||||
|
||||
pkgs.lutris
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, inputs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -18,6 +18,7 @@
|
|||
pipewire-controller.enable = true;
|
||||
|
||||
# Games
|
||||
lutris.enable = true;
|
||||
xivlauncher.enable = true;
|
||||
|
||||
# Term Tools
|
||||
|
@ -55,12 +56,7 @@
|
|||
"~/obsidian"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; let
|
||||
umu = inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; };
|
||||
in
|
||||
[
|
||||
umu
|
||||
lutris
|
||||
home.packages = with pkgs; [
|
||||
# (writeShellScriptBin "battlenet" ''
|
||||
# export WINEARCH=win64
|
||||
# export WINEPREFIX=$HOME/.wine-battlenet
|
||||
|
|
Loading…
Reference in a new issue