14 lines
278 B
Nix
14 lines
278 B
Nix
{ options, config, lib, pkgs, ...}:
|
|
with lib;
|
|
let cfg = config.modules.desktop.game.lutris;
|
|
in {
|
|
options.modules.desktop.game.lutris = {
|
|
enable = mkBoolOpt false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
users.users.sako.packages = with pkgs; [
|
|
lutris
|
|
];
|
|
};
|
|
}
|