dam you can't conditionally import, cringe
This commit is contained in:
parent
db5366102b
commit
720828a097
7 changed files with 68 additions and 77 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue