diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 8 | ||||
| -rw-r--r-- | templates/system-flake/flake.nix | 6 |
2 files changed, 4 insertions, 10 deletions
@@ -41,14 +41,14 @@ flakes, system, formatter ? "alejandra", - localOverlayPath ? null, - nixpkgsConfigPath ? null, - nixosSourcePath ? null, + localOverlayPath ? /. + "${flakes.self}" + /pkgs, + nixpkgsConfigPath ? localOverlayPath + /config, + nixosSourcePath ? /. + "${flakes.self}" + /sys, nixosPlatformsPath ? if nixosSourcePath != null then nixosSourcePath + /platform else null, - hmSourcePath ? null, + hmSourcePath ? /. + "${flakes.self}" + /home, hmPlatformsPath ? if hmSourcePath != null then hmSourcePath + /platform diff --git a/templates/system-flake/flake.nix b/templates/system-flake/flake.nix index 7b4ec56..6afe06f 100644 --- a/templates/system-flake/flake.nix +++ b/templates/system-flake/flake.nix @@ -24,11 +24,5 @@ trivium.lib.mkSystemFlake { system = "x86_64-linux"; inherit flakes; - - localOverlayPath = ./pkgs; - nixpkgsConfigPath = ./pkgs/config; - - hmSourcePath = ./home; - nixosSourcePath = ./sys; }; } |
