aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-04-07 12:00:58 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-04-07 12:00:58 +0200
commit6f24ca94e431fd6a8b53c9bd3e1eb83d10d72658 (patch)
treeadb3e79765f2af43c9a685359a03fa4f3a5fab33
parent93f36fd65cd65ea0b15f1add21cbb0a212d276d8 (diff)
Updated flake to import rice modules directly
mkSystem now imports ./home/rices/${rice}/system.nix mkHomeManagerModule now imports ./home/rices/${rice}/home.nix This fixes the dual import issue and ensures rice configs are properly separated between NixOS and home-manager contexts
-rw-r--r--flake.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index df19116..6fd8c41 100644
--- a/flake.nix
+++ b/flake.nix
@@ -70,7 +70,12 @@
inherit hostname;
inherit rice;
};
- users.mun = import ./home/mun;
+ users.mun = {
+ imports = [
+ ./home/mun
+ ./home/rices/${rice}/home.nix
+ ];
+ };
sharedModules = [
nixowos.homeModules.default
];
@@ -92,7 +97,7 @@
}
./hosts/${hostname}/configuration.nix
./system
- ./home/rices/${rice}/default.nix
+ ./home/rices/${rice}/system.nix
home-manager.nixosModules.home-manager
nixowos.nixosModules.default
stylix.nixosModules.stylix