hoe manager
This commit is contained in:
parent
bfbc64b611
commit
f266f8a8ee
14 changed files with 154 additions and 29 deletions
30
modules/window_manager/window_manager.nix
Normal file
30
modules/window_manager/window_manager.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue