home(minecraft): make username configurable
This commit is contained in:
parent
6a3a206c0b
commit
fd96081d8d
2 changed files with 10 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
, ... }: with lib; let
|
||||
inherit (config.passthrough) gui;
|
||||
cfg = config.passthrough.minecraft;
|
||||
enable = cfg.enable && config.home.username == "minecraft";
|
||||
enable = cfg.enable && config.home.username == cfg.user;
|
||||
in mkIf enable {
|
||||
home.packages = with pkgs; [
|
||||
jdk8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue