Refactor nix init scripts
This commit is contained in:
@@ -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 = [ ];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 = [ ];
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user