This commit is contained in:
parent
123f3c4965
commit
1a97ee6210
3 changed files with 18 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
jetbrainsToolbox.enable = true;
|
jetbrainsToolbox.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
minecraft.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
shell = {
|
shell = {
|
||||||
|
|
|
@ -7,5 +7,6 @@
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
./jetbrains-toolbox.nix
|
./jetbrains-toolbox.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
|
./minecraft.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
16
modules/home/apps/minecraft.nix
Normal file
16
modules/home/apps/minecraft.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.home.apps.minecraft;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.home.apps.minecraft = {
|
||||||
|
enable = mkEnableOption ''
|
||||||
|
Enable minecraft
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [gdlauncher-carbon];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue