dam you can't conditionally import, cringe

This commit is contained in:
martyTF 2025-12-16 17:01:01 +01:00
parent db5366102b
commit 720828a097
7 changed files with 68 additions and 77 deletions

View file

@ -5,14 +5,26 @@
...
}:
let
enable_hyprland =
if config.networking.hostName == "marty-pc" then
true
else if config.networking.hostName == "marty-latitude" then
true
else if config.networking.hostName == "marty-server" then
false
else
false;
in
{
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
enable = enable_hyprland;
xwayland.enable = enable_hyprland;
};
hyprlock = {
enable = true;
enable = enable_hyprland;
};
};
}