make prismlauncher module
This commit is contained in:
parent
48ef9a229f
commit
3fbc7ba004
2 changed files with 16 additions and 0 deletions
|
@ -5,5 +5,6 @@
|
||||||
./wine
|
./wine
|
||||||
./grapejuice
|
./grapejuice
|
||||||
./tetrio
|
./tetrio
|
||||||
|
./prismlauncher
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
15
modules/desktop/game/prismlauncher/default.nix
Normal file
15
modules/desktop/game/prismlauncher/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ lib, config, pkgs, options, ...}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.game.prismlauncher;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.desktop.game.prismlauncher = {
|
||||||
|
enable = lib.mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
users.users.sako.packages = with pkgs; [
|
||||||
|
prismlauncher
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue