dev/shell: flatten

This commit is contained in:
zowoq 2023-05-19 23:39:53 +10:00
parent df9aa7a9dd
commit f97f1eb48f
2 changed files with 12 additions and 13 deletions

View file

@ -1,16 +1,15 @@
{ pkgs, ... }:
{
perSystem = { pkgs, ... }: {
devShells = {
default = with pkgs; mkShellNoCC {
packages = [
jq
python3.pkgs.deploykit
python3.pkgs.invoke
rsync
sops
ssh-to-age
];
};
devShells = {
default = with pkgs; mkShellNoCC {
packages = [
jq
python3.pkgs.deploykit
python3.pkgs.invoke
rsync
sops
ssh-to-age
];
};
};
}

View file

@ -70,12 +70,12 @@
inputs.hercules-ci-effects.flakeModule
inputs.treefmt-nix.flakeModule
./effect.nix
./dev/shell.nix
];
hercules-ci.github-pages.branch = "master";
perSystem = { config, pkgs, ... }: {
imports = [ ./dev/shell.nix ];
treefmt.imports = [ ./dev/treefmt.nix ];
packages.pages = pkgs.runCommand "pages"