forked from aylac.top/nixcfg
this repo has no description

ok now i can go back on this wait a minute im an idiot i was doing it the opposite way

Changed files
+21 -27
modules
+21 -27
modules/flake/devShells.nix
···
self',
...
}: {
-
devShells = {
-
morgana =
-
pkgs.mkShell {
-
};
-
-
default = pkgs.mkShell {
-
packages =
-
(with pkgs; [
-
(lib.hiPrio uutils-coreutils-noprefix)
-
git
-
nh
-
])
-
# ++ lib.attrValues config.treefmt.build.programs
-
++ [
-
inputs'.agenix.packages.default
-
inputs'.disko.packages.disko-install
-
self'.packages.gen-files
-
];
+
devShells.default = pkgs.mkShell {
+
packages =
+
(with pkgs; [
+
(lib.hiPrio uutils-coreutils-noprefix)
+
git
+
nh
+
])
+
# ++ lib.attrValues config.treefmt.build.programs
+
++ [
+
inputs'.agenix.packages.default
+
inputs'.disko.packages.disko-install
+
self'.packages.gen-files
+
];
-
shellHook = ''
-
echo "Installing pre-commit hooks..."
-
${config.pre-commit.installationScript}
-
echo "Generating files..."
-
${lib.getExe self'.packages.gen-files}
-
export FLAKE="." NH_FLAKE="."
-
echo "👋 Welcome to the nixcfg devShell!"
-
'';
-
};
+
shellHook = ''
+
echo "Installing pre-commit hooks..."
+
${config.pre-commit.installationScript}
+
echo "Generating files..."
+
${lib.getExe self'.packages.gen-files}
+
export FLAKE="." NH_FLAKE="."
+
echo "👋 Welcome to the nixcfg devShell!"
+
'';
};
};
}