show configuration diffs

add formatting for nix and elixir
This commit is contained in:
Pim Kunis 2023-12-16 16:12:13 +01:00
parent 6f64ae8776
commit b616da4a06
4 changed files with 40 additions and 19 deletions

View file

@ -39,7 +39,17 @@
};
environment = {
systemPackages = with pkgs; [ wget curl git btop ripgrep vim dogdns tree dig ];
systemPackages = with pkgs; [
wget
curl
git
btop
ripgrep
vim
dogdns
tree
dig
];
gnome.excludePackages = with pkgs; [
gnome.totem
gnome-tour
@ -50,7 +60,15 @@
];
};
system.stateVersion = "23.05";
system = {
stateVersion = "23.05";
activationScripts.diff = ''
if [[ -e /run/current-system ]]; then
${pkgs.nix}/bin/nix store diff-closures /run/current-system "$systemConfig"
fi
'';
};
programs.ssh = {
startAgent = true;