config.nix/modules/window_manager/hyprland.nix

30 lines
477 B
Nix

{
config,
lib,
pkgs,
...
}:
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 = enable_hyprland;
xwayland.enable = enable_hyprland;
};
hyprlock = {
enable = enable_hyprland;
};
};
}