This commit is contained in:
hand7s 2025-04-21 18:32:39 +03:00
commit b6cdc78668
210 changed files with 9929 additions and 0 deletions

26
hand7s/home/gui.nix Normal file
View file

@ -0,0 +1,26 @@
{
osConfig,
lib,
...
}:{
home = {
gui = {
enable = lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
) true;
sessionType = if (
osConfig.networking.hostName == "s0mePC-nix"
) then (
"Hyprland"
) else if (
osConfig.networking.hostName == "s0melapt0p-nix"
) then (
"Sway"
) else (
"None"
);
};
};
}