flake: export nixosModules and homeManagerModules
This commit is contained in:
parent
12b7c09c0b
commit
7d040f8f8a
|
@ -42,6 +42,9 @@
|
|||
trivium = overlay;
|
||||
};
|
||||
|
||||
homeManagerModules.default = ./hm;
|
||||
hm.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
|
||||
|
|
Loading…
Reference in a new issue