fixed zshell config editing aliases, rewrote the 'if (host == 'oganesson')' statements to be more readable

This commit is contained in:
pagedmov
2024-10-22 17:38:57 -04:00
parent b20e6d745c
commit 4ab38e199b
7 changed files with 33 additions and 21 deletions

View File

@@ -1,8 +1,12 @@
{host, ...}: {
{host, ...}:
let
desktop = (host == "oganesson");
in
{
networking = {
networkmanager.enable = true;
hostName =
if (host == "oganesson")
if desktop
then "oganesson"
else "mercury";
hosts = {