Refactor Nix configurations for improved readability and organization; update package declarations to use 'with pkgs;' syntax and remove unnecessary builtins.attrValues.
This commit is contained in:
39
shell.nix
39
shell.nix
@@ -18,26 +18,23 @@
|
||||
BOOTSTRAP_SSH_PORT = "22";
|
||||
BOOTSTRAP_SSH_KEY = "~/.ssh/id_manu";
|
||||
|
||||
nativeBuildInputs = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
# NOTE(starter): add any packages you want available in the shell when accessing the parent directory.
|
||||
# These will be installed regardless of what was installed specific for the host or home configs
|
||||
nix
|
||||
home-manager
|
||||
nil
|
||||
alejandra
|
||||
nh
|
||||
git
|
||||
just
|
||||
pre-commit
|
||||
deadnix
|
||||
sops
|
||||
yq-go # jq for yaml, used for build scripts
|
||||
bats # for bash testing
|
||||
age # for bootstrap script
|
||||
ssh-to-age # for bootstrap script
|
||||
;
|
||||
};
|
||||
nativeBuildInputs = with pkgs; [
|
||||
# NOTE(starter): add any packages you want available in the shell when accessing the parent directory.
|
||||
# These will be installed regardless of what was installed specific for the host or home configs
|
||||
nix
|
||||
home-manager
|
||||
nil
|
||||
alejandra
|
||||
nh
|
||||
git
|
||||
just
|
||||
pre-commit
|
||||
deadnix
|
||||
sops
|
||||
yq-go # jq for yaml, used for build scripts
|
||||
bats # for bash testing
|
||||
age # for bootstrap script
|
||||
ssh-to-age # for bootstrap script
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user