flake: export nixosModules and homeManagerModules
This commit is contained in:
parent
12b7c09c0b
commit
cfdf227b9c
|
@ -42,6 +42,9 @@
|
||||||
trivium = overlay;
|
trivium = overlay;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
homeManagerModules.default = ./hm;
|
||||||
|
nixosModules.default = ./nixos;
|
||||||
|
|
||||||
lib = {
|
lib = {
|
||||||
mkSystemFlake = {
|
mkSystemFlake = {
|
||||||
flakes,
|
flakes,
|
||||||
|
@ -151,7 +154,7 @@
|
||||||
hostConfig = platform:
|
hostConfig = platform:
|
||||||
nixosSystem {
|
nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
./nixos
|
self.nixosModules.default
|
||||||
nixosSourcePath
|
nixosSourcePath
|
||||||
platform
|
platform
|
||||||
];
|
];
|
||||||
|
@ -177,7 +180,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./hm
|
self.homeManagerModules.default
|
||||||
hmSourcePath
|
hmSourcePath
|
||||||
platform
|
platform
|
||||||
registry
|
registry
|
||||||
|
|
Loading…
Reference in a new issue