aboutsummaryrefslogtreecommitdiff
path: root/home/mun/default.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-04 23:29:14 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-04 23:29:14 +0200
commit29327f37614667444761d1c2a8f71fe54fddec66 (patch)
tree2b62e0b2cdbe0b28408001dc99be99333d8a1a0e /home/mun/default.nix
parentcf0c9f66c4b5d9e6342c1eac302d0e6bbe9b1587 (diff)
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
Diffstat (limited to 'home/mun/default.nix')
-rw-r--r--home/mun/default.nix14
1 files changed, 3 insertions, 11 deletions
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 = {