why does nixos require me to commit before rebuilding........

This commit is contained in:
maxstrb 2026-03-14 22:42:57 +01:00
parent 260eed30e3
commit 01b2970436
4 changed files with 38 additions and 22 deletions

View file

@ -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
];
}

View file

@ -1,5 +1,6 @@
{
imports = [
./minecraft.nix
./heroic.nix
];
}

View file

@ -0,0 +1,12 @@
{
pkgs,
config,
lib,
...
}: {
config = lib.mkIf config.myModules.games.enable {
home.packages = with pkgs; [
heroic
];
};
}

View file

@ -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 @@
];
})
];
};
}