aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/mun/default.nix17
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 = {