forked from divnix/flops
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
113 additions
and
854 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Disable the automatic menu displaying on every environment reload. | ||
# export DEVSHELL_NO_MOTD=1 | ||
watch_file flakes.nix flake.lock | ||
watch_file ./flakes.nix ./flake.lock | ||
watch_file local/flake.nix local/flake.lock | ||
# shellcheck disable=SC1090 | ||
source "$(fetchurl "https://raw.githubusercontent.com/gtrunsec/direnv/main/lib" "sha256-tuMA8WGkwcYq9V3MtlN6xdVvKd2YkdEpdK4ZyAN6VDM=")" | ||
|
||
registry="$PRJ_ROOT/local#__std" | ||
|
||
use envreload //repo/devshells/default | ||
use envreload //repo/shells/default |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
jobs: | ||
nix: | ||
runs-on: ubuntu-latest | ||
|
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ inputs, cell }: | ||
with inputs.std.inputs.dmerge; | ||
let | ||
cfg = { | ||
inherit (cell.pops.configs.exports.default) treefmt lefthook conform; | ||
}; | ||
inherit (cell.pops.configs.exports.stdNixago) treefmt lefthook conform; | ||
in | ||
{ | ||
lefthook = { | ||
inherit (lefthook) default; | ||
}; | ||
treefmt = { | ||
default = treefmt.default; | ||
}; | ||
conform = rec { | ||
default = conform.default custom; | ||
custom = { | ||
data = { | ||
commit.conventional.scopes = append [ ".*." ]; | ||
}; | ||
}; | ||
}; | ||
} |
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,16 @@ | ||
{ inputs, cell }: | ||
let | ||
inherit (inputs) nixpkgs omnibus; | ||
inputs' = (inputs.omnibus.pops.flake.setSystem nixpkgs.system).inputs; | ||
in | ||
{ | ||
configs = inputs.omnibus.pops.configs { | ||
inputs = { | ||
inputs = { | ||
inherit (inputs') nixfmt pre-commit-hooks; | ||
inherit (inputs) std; | ||
inherit nixpkgs; | ||
}; | ||
}; | ||
}; | ||
} |
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
Oops, something went wrong.