summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-05 21:29:34 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-05 21:40:37 -0600
commit95b9f042d14d42e06425037f96301fa177b3f85d (patch)
tree736d9dc7445ce570bd3bfcf49d3aa05bd68a5f6a /flake.nix
parent4dc9f06082f0e2c737de12fdc3a85e39827347ef (diff)
flake: export nixosModules and homeManagerModules
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 29664c3..a18f2c7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,6 +42,9 @@
trivium = overlay;
};
+ homeManagerModules.default = ./hm;
+ nixosModules.default = ./nixos;
+
lib = {
mkSystemFlake = {
flakes,
@@ -151,7 +154,7 @@
hostConfig = platform:
nixosSystem {
modules = [
- ./nixos
+ self.nixosModules.default
nixosSourcePath
platform
];
@@ -177,7 +180,7 @@
};
modules = [
- ./hm
+ self.homeManagerModules.default
hmSourcePath
platform
registry