why does nixos require me to commit before rebuilding........
This commit is contained in:
parent
260eed30e3
commit
01b2970436
4 changed files with 38 additions and 22 deletions
|
|
@ -10,15 +10,12 @@
|
||||||
description = "Enable games module.";
|
description = "Enable games module.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
./daily_apps.nix
|
./daily_apps.nix
|
||||||
./niri.nix
|
./niri.nix
|
||||||
./nvf.nix
|
./nvf.nix
|
||||||
./shell
|
./shell
|
||||||
./create-project/create-project.nix
|
./create-project/create-project.nix
|
||||||
]
|
|
||||||
++ lib.optionals config.myModules.games.enable [
|
|
||||||
./games
|
./games
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
|
./heroic.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
home/modules/games/heroic.nix
Normal file
12
home/modules/games/heroic.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.myModules.games.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
heroic
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,11 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
home.packages = with pkgs; [
|
pkgs,
|
||||||
heroic
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.myModules.games.enable {
|
||||||
|
home.packages = [
|
||||||
(pkgs.prismlauncher.override {
|
(pkgs.prismlauncher.override {
|
||||||
jdks = [
|
jdks = [
|
||||||
pkgs.temurin-bin-21
|
pkgs.temurin-bin-21
|
||||||
|
|
@ -9,4 +14,5 @@
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue