diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-04 22:58:27 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-04 22:58:27 +0200 |
| commit | 710216723ef47b0d1ee5dcbee1b312fe5484a9b5 (patch) | |
| tree | 0c3bfb99466a2d8fcf9047fa78c3fe0448dc4473 /home/mun/default.nix | |
| parent | fe3717dd05f0c5ef97982e0ed7ba382009527094 (diff) | |
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
Diffstat (limited to 'home/mun/default.nix')
| -rw-r--r-- | home/mun/default.nix | 17 |
1 files changed, 15 insertions, 2 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 = { |
