diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-07 12:00:58 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-07 12:00:58 +0200 |
| commit | 6f24ca94e431fd6a8b53c9bd3e1eb83d10d72658 (patch) | |
| tree | adb3e79765f2af43c9a685359a03fa4f3a5fab33 /flake.nix | |
| parent | 93f36fd65cd65ea0b15f1add21cbb0a212d276d8 (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
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |
