fix: use unfree nomad, add activation script to

show closure diffs
This commit is contained in:
teutat3s 2024-03-06 18:50:48 +01:00
parent f6c5fef2fe
commit c3094c4b76
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 14 additions and 2 deletions

View file

@ -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;

View file

@ -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