From 29327f37614667444761d1c2a8f71fe54fddec66 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sat, 4 Apr 2026 23:29:14 +0200 Subject: Simplify rice selection - single parameter drives all config - Rice parameter now passed to both system and home-manager - Removed hostname-based rice mapping from home/mun/default.nix - Home config directly imports rice using rice parameter - Now you just specify rice once: mkSystem hostname rice-name --- home/mun/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'home/mun/default.nix') diff --git a/home/mun/default.nix b/home/mun/default.nix index 71b844b..5fa0c48 100644 --- a/home/mun/default.nix +++ b/home/mun/default.nix @@ -1,21 +1,13 @@ { pkgs, - hostname ? "kronos", + rice ? "nord-blue", ... -}: let - # Hostname-aware rice selection - 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 - selectedRice + ../rices/${rice} ]; nixowos = { -- cgit v1.2.3