fix: use unfree nomad, add activation script to
show closure diffs
This commit is contained in:
parent
f6c5fef2fe
commit
c3094c4b76
|
@ -11,11 +11,23 @@
|
||||||
"brscan5"
|
"brscan5"
|
||||||
"brscan5-etc-files"
|
"brscan5-etc-files"
|
||||||
"facetimehd-firmware"
|
"facetimehd-firmware"
|
||||||
|
"nomad"
|
||||||
"slack"
|
"slack"
|
||||||
"veracrypt"
|
"veracrypt"
|
||||||
"zoom"
|
"zoom"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
system.activationScripts.diff-closures = {
|
||||||
|
text =''
|
||||||
|
if [[ -e /run/current-system ]]; then
|
||||||
|
${config.nix.package}/bin/nix store diff-closures \
|
||||||
|
/run/current-system "$systemConfig" \
|
||||||
|
--extra-experimental-features nix-command
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
supportsDryActivation = true;
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
# Use default version alias for nix package
|
# Use default version alias for nix package
|
||||||
package = pkgs.nix;
|
package = pkgs.nix;
|
||||||
|
|
|
@ -72,7 +72,7 @@ in {
|
||||||
ifmetric
|
ifmetric
|
||||||
ipmitool
|
ipmitool
|
||||||
#keybase-gui
|
#keybase-gui
|
||||||
nomad_1_4
|
nomad
|
||||||
thunderbird
|
thunderbird
|
||||||
vault
|
vault
|
||||||
veracrypt
|
veracrypt
|
||||||
|
@ -87,7 +87,7 @@ in {
|
||||||
source ${flake.inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh
|
source ${flake.inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh
|
||||||
|
|
||||||
complete -C ${pkgs.consul}/bin/consul consul
|
complete -C ${pkgs.consul}/bin/consul consul
|
||||||
complete -C ${pkgs.nomad_1_4}/bin/nomad nomad
|
complete -C ${pkgs.nomad}/bin/nomad nomad
|
||||||
complete -C ${pkgs.vault}/bin/vault vault
|
complete -C ${pkgs.vault}/bin/vault vault
|
||||||
complete -C ${flake.inputs.nixos-22-05.legacyPackages.${pkgs.system}.terraform}/bin/terraform terraform
|
complete -C ${flake.inputs.nixos-22-05.legacyPackages.${pkgs.system}.terraform}/bin/terraform terraform
|
||||||
complete -C ${pkgs.waypoint}/bin/waypoint waypoint
|
complete -C ${pkgs.waypoint}/bin/waypoint waypoint
|
||||||
|
|
Loading…
Reference in a new issue