Refactor nix init scripts

This commit is contained in:
Lukas Cech
2025-01-23 13:03:52 +01:00
parent 28a44e36fa
commit 46f71fabdd
4 changed files with 95 additions and 69 deletions
@@ -3,19 +3,21 @@
nix.url = "git+ssh://git@git.investbay.dev/devops/nix?branch=main";
};
outputs = { self, nix }: {
formatter = nix.formatter;
outputs =
{ self, nix }:
{
formatter = nix.formatter;
devShells = nix.lib.forAllSystems (pkgs: {
default = pkgs.devshell.mkShell {
name = "investbay";
devShells = nix.lib.forAllSystems (pkgs: {
default = pkgs.devshell.mkShell {
name = "investbay";
packages = with pkgs; [
packages = with pkgs; [
];
];
commands = [];
};
});
};
commands = [ ];
};
});
};
}
+13 -11
View File
@@ -3,19 +3,21 @@
nix.url = "git+ssh://git@bitbucket.org/yourpass/nix";
};
outputs = { self, nix }: {
formatter = nix.formatter;
outputs =
{ self, nix }:
{
formatter = nix.formatter;
devShells = nix.lib.forAllSystems (pkgs: {
default = pkgs.devshell.mkShell {
name = "yp";
devShells = nix.lib.forAllSystems (pkgs: {
default = pkgs.devshell.mkShell {
name = "yp";
packages = with pkgs; [
packages = with pkgs; [
];
];
commands = [];
};
});
};
commands = [ ];
};
});
};
}