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.";
|
||||
};
|
||||
};
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
./daily_apps.nix
|
||||
./niri.nix
|
||||
./nvf.nix
|
||||
./shell
|
||||
./create-project/create-project.nix
|
||||
]
|
||||
++ lib.optionals config.myModules.games.enable [
|
||||
./games
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./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; [
|
||||
heroic
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.myModules.games.enable {
|
||||
home.packages = [
|
||||
(pkgs.prismlauncher.override {
|
||||
jdks = [
|
||||
pkgs.temurin-bin-21
|
||||
|
|
@ -9,4 +14,5 @@
|
|||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue