From 6a132670e22d1c6dcfc3d2de22295d5698dc5f82 Mon Sep 17 00:00:00 2001 From: aaron Date: Thu, 5 Mar 2026 17:38:00 +0100 Subject: [PATCH] fix(hostnames): move hostname to configuration.nix --- hosts/argon/configuration.nix | 5 ++++- hosts/neon/configuration.nix | 3 +++ modules/home-manager/shell.nix | 2 +- modules/nixos/networking.nix | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/argon/configuration.nix b/hosts/argon/configuration.nix index e06071b..03b2aed 100644 --- a/hosts/argon/configuration.nix +++ b/hosts/argon/configuration.nix @@ -5,7 +5,7 @@ ../../modules/nixos/audio.nix ../../modules/nixos/bootloader.nix ../../modules/nixos/certificates.nix - ../../modules/nixos/docker.nix + #../../modules/nixos/docker.nix ../../modules/nixos/gnupg.nix ../../modules/nixos/locales.nix ../../modules/nixos/networking.nix @@ -20,6 +20,9 @@ ../../modules/nixos/users.nix ]; + # set hostname + networking.hostName = "argon"; + # install state version system.stateVersion = "25.11"; # Don't change } diff --git a/hosts/neon/configuration.nix b/hosts/neon/configuration.nix index e06071b..458c32f 100644 --- a/hosts/neon/configuration.nix +++ b/hosts/neon/configuration.nix @@ -20,6 +20,9 @@ ../../modules/nixos/users.nix ]; + # set hostname + networking.hostName = "neon"; + # install state version system.stateVersion = "25.11"; # Don't change } diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index 4ca04ec..fad41cf 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -7,7 +7,7 @@ syntaxHighlighting.enable = true; oh-my-zsh = { enable = true; - theme = "agnoster"; + theme = "gentoo"; #plugins = [ "git" "ssh-agent" ]; }; }; diff --git a/modules/nixos/networking.nix b/modules/nixos/networking.nix index 2c2fde1..c393e35 100644 --- a/modules/nixos/networking.nix +++ b/modules/nixos/networking.nix @@ -1,8 +1,8 @@ { config, lib, pkgs, ... }: { - # set hostnname - networking.hostName = "neon"; + ## set hostnname + #networking.hostName = "neon"; # user networkmanager networking.networkmanager.enable = true;