my life is in shambles

This commit is contained in:
tulg 2026-02-28 19:55:43 +03:00
parent 87c7dcfadf
commit fa7d87f49f
2 changed files with 4 additions and 9 deletions

View file

@ -3,10 +3,6 @@
lib,
...
}: {
# 1. Define the option (Keep it here if this is the only place it lives)
options.tulg.desktop.enable = lib.mkEnableOption "gui";
# 2. Wrap the imports in a conditional config block
config = lib.mkIf config.tulg.desktop.enable {
imports = [
./noctalia.nix

View file

@ -6,11 +6,10 @@
lib,
...
}: {
imports =
[
./cli/default.nix
]
++ lib.optional config.tulg.desktop.enable ./desktop/default.nix;
imports = [
./cli/default.nix
];
tulg.desktop.enable = lib.mkDefault true;
# Home Manager settings
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];