conditional imports

This commit is contained in:
Noa Aarts 2024-11-11 11:19:02 +01:00
parent 4c55bc97f6
commit 0ce706667d
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -26,11 +26,14 @@ let
};
in
{
imports = [
../modules/hyprland.nix
../modules/games
imports =
[
../modules/applications
../modules/games
../modules/hyprland.nix
./nvim/nvim.nix
]
++ lib.optionals enableGraphical [
./discord/discord.nix
./spotify.nix
];