hand7s: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
c12e1edf28
commit
7d44c83d61
48 changed files with 282 additions and 1097 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
osConfig,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -7,27 +8,13 @@
|
|||
gui = {
|
||||
enable =
|
||||
lib.mkIf (
|
||||
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
|
||||
osConfig.networking.hostName == "ada" || osConfig.networking.hostName == "isla" || osConfig.networking.hostName == "wanda"
|
||||
)
|
||||
true;
|
||||
|
||||
sessionType =
|
||||
if
|
||||
(
|
||||
osConfig.networking.hostName == "s0mePC-nix"
|
||||
)
|
||||
then "Hyprland"
|
||||
else if
|
||||
(
|
||||
osConfig.networking.hostName == "s0mew0rkstat1on-nix"
|
||||
)
|
||||
then "Hyprland"
|
||||
else if
|
||||
(
|
||||
osConfig.networking.hostName == "s0melapt0p-nix"
|
||||
)
|
||||
then "Sway"
|
||||
else "None";
|
||||
lib.mkIf config.home.gui.enable
|
||||
"Hyprland";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue