init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
26
hand7s/home/gui.nix
Normal file
26
hand7s/home/gui.nix
Normal 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"
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue