-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Break up the
lib
output (#107)
Split the `lib` definitions into separate files and update the usage of upstream projects like Flaky and Bash strict mode. This also updates to Nixpkgs 24.11, obviating #105.
Showing
12 changed files
with
172 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
bash-strict-mode, | ||
config, | ||
lib, | ||
pkgs, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Takes the same arguments as `configuration`, but defaults to loading | ||
## configuration from `$PROJECT_ROOT/.config/project` and | ||
## `$PROJECT_ROOT/.config/project/user`. | ||
{configuration}: { | ||
self, | ||
modules ? [], | ||
... | ||
} @ args: let | ||
projectConfig = "${self}/.config/project"; | ||
userConfig = "${projectConfig}/user"; | ||
in | ||
configuration | ||
(args | ||
// { | ||
modules = | ||
modules | ||
++ [projectConfig] | ||
++ ( | ||
if builtins.pathExists userConfig | ||
then [userConfig] | ||
else [] | ||
); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
flake-utils, | ||
pkgsFor, | ||
self, | ||
treefmt-nix, | ||
}: let | ||
configuration = import ./configuration.nix { | ||
inherit flake-utils pkgsFor self treefmt-nix; | ||
}; | ||
in { | ||
inherit configuration; | ||
|
||
defaultConfiguration = | ||
import ./default-configuration.nix {inherit configuration;}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters