From 710216723ef47b0d1ee5dcbee1b312fe5484a9b5 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sat, 4 Apr 2026 22:58:27 +0200 Subject: Enable hostname-aware rice selection and switch herra to cassette-futurism - Modified home/mun/default.nix to select rice based on hostname - herra now uses cassette-futurism rice (KDE Plasma) - kronos and mystra continue using nord-blue rice (i3wm) - Allows different hosts to use different desktop environments --- home/mun/default.nix | 17 +++++++++++++++-- hosts/herra/configuration.nix | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/home/mun/default.nix b/home/mun/default.nix index ce90228..e070fb1 100644 --- a/home/mun/default.nix +++ b/home/mun/default.nix @@ -1,9 +1,22 @@ -{pkgs, ...}: { +{ + config, + pkgs, + ... +}: let + # Hostname-aware rice selection + hostname = config.networking.hostName or "kronos"; + riceMap = { + herra = ../rices/cassette-futurism; + kronos = ../rices/nord-blue; + mystra = ../rices/nord-blue; + }; + selectedRice = riceMap.${hostname} or ../rices/nord-blue; +in { imports = [ ./programs/zsh.nix ./programs/ssh.nix ./programs/git.nix - ../rices/nord-blue + selectedRice ]; nixowos = { diff --git a/hosts/herra/configuration.nix b/hosts/herra/configuration.nix index 4f8f59a..9f104b8 100644 --- a/hosts/herra/configuration.nix +++ b/hosts/herra/configuration.nix @@ -1,7 +1,7 @@ {...}: { imports = [ ./hardware-configuration.nix - ../../home/rices/nord-blue/system.nix + ../../home/rices/cassette-futurism/system.nix ]; networking.hostName = "herra"; -- cgit v1.2.3