home(minecraft): add app user capability
This commit is contained in:
parent
782107a6cf
commit
b4a26160c1
2 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; mkIf config.passthrough.minecraft.enable {
|
||||
, ... }: with lib; let
|
||||
cfg = config.passthrough.minecraft;
|
||||
enable = cfg.enable && (cfg.allUsers || (config.home.username == "app"));
|
||||
in mkIf enable {
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
jdk8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue