flake: add default values for mkSystemFlake paths
This commit is contained in:
parent
3a3d73d5b6
commit
ae5315326a
|
@ -41,14 +41,14 @@
|
||||||
flakes,
|
flakes,
|
||||||
system,
|
system,
|
||||||
formatter ? "alejandra",
|
formatter ? "alejandra",
|
||||||
localOverlayPath ? null,
|
localOverlayPath ? /. + "${flakes.self}" + /pkgs,
|
||||||
nixpkgsConfigPath ? null,
|
nixpkgsConfigPath ? localOverlayPath + /config,
|
||||||
nixosSourcePath ? null,
|
nixosSourcePath ? /. + "${flakes.self}" + /sys,
|
||||||
nixosPlatformsPath ?
|
nixosPlatformsPath ?
|
||||||
if nixosSourcePath != null
|
if nixosSourcePath != null
|
||||||
then nixosSourcePath + /platform
|
then nixosSourcePath + /platform
|
||||||
else null,
|
else null,
|
||||||
hmSourcePath ? null,
|
hmSourcePath ? /. + "${flakes.self}" + /home,
|
||||||
hmPlatformsPath ?
|
hmPlatformsPath ?
|
||||||
if hmSourcePath != null
|
if hmSourcePath != null
|
||||||
then hmSourcePath + /platform
|
then hmSourcePath + /platform
|
||||||
|
|
|
@ -24,11 +24,5 @@
|
||||||
trivium.lib.mkSystemFlake {
|
trivium.lib.mkSystemFlake {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
inherit flakes;
|
inherit flakes;
|
||||||
|
|
||||||
localOverlayPath = ./pkgs;
|
|
||||||
nixpkgsConfigPath = ./pkgs/config;
|
|
||||||
|
|
||||||
hmSourcePath = ./home;
|
|
||||||
nixosSourcePath = ./sys;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue