From 2cdbae7747b791eaba4ee0e399ad8a0829e44df5 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Mon, 16 Dec 2024 21:17:51 +0100 Subject: [PATCH] feat: add gen-diff alias --- SwarselSystems.org | 1 + profiles/common/home/zsh.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/SwarselSystems.org b/SwarselSystems.org index ee8f950..021ae68 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -8215,6 +8215,7 @@ Here we set some aliases (some of them should be shellApplications instead) as w fs-diff = "sudo mount -o subvol=/ /dev/mapper/cryptroot /mnt ; fs-diff"; lt = "eza -las modified --total-size"; boot-diff = "nix store diff-closures /run/*-system"; + gen-diff = "nix profile diff-closures --profile /nix/var/nix/profiles/system"; } config.swarselsystems.shellAliases; autosuggestion.enable = true; diff --git a/profiles/common/home/zsh.nix b/profiles/common/home/zsh.nix index 62903cb..47bc28d 100644 --- a/profiles/common/home/zsh.nix +++ b/profiles/common/home/zsh.nix @@ -23,6 +23,7 @@ fs-diff = "sudo mount -o subvol=/ /dev/mapper/cryptroot /mnt ; fs-diff"; lt = "eza -las modified --total-size"; boot-diff = "nix store diff-closures /run/*-system"; + gen-diff = "nix profile diff-closures --profile /nix/var/nix/profiles/system"; } config.swarselsystems.shellAliases; autosuggestion.enable = true;