diff --git a/SwarselSystems.org b/SwarselSystems.org index 5968ef7..f00a873 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -6205,6 +6205,20 @@ This section houses the greetd related settings. I do not really want to use a d } #+end_src +**** Summary of nixos-rebuild diff + +#+begin_src nix :tangle profiles/common/nixos/nvd-rebuild.nix + { pkgs, ... }: + { + system.activationScripts.diff = { + supportsDryActivation = true; + text = '' + ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \ + /run/current-system "$systemConfig" + ''; + }; + } +#+end_src **** gnome-keyring @@ -6508,6 +6522,7 @@ Programming languages and default lsp's are defined here: [[#h:0e7e8bea-ec58-499 util-linux nmap lsof + nvd # nix alejandra diff --git a/profiles/common/home/packages.nix b/profiles/common/home/packages.nix index 0cd5913..dedcafd 100644 --- a/profiles/common/home/packages.nix +++ b/profiles/common/home/packages.nix @@ -6,7 +6,7 @@ # audio stuff spek # spectrum analyzer losslessaudiochecker - ffmpeg_5-full + ffmpeg_7-full flac mediainfo picard-tools @@ -25,6 +25,7 @@ util-linux nmap lsof + nvd # nix alejandra @@ -48,7 +49,7 @@ xournalpp obsidian spotify - discord + vesktop # discord client stable.nextcloud-client spotify-player element-desktop-wayland @@ -159,6 +160,7 @@ waybarupdate opacitytoggle fs-diff + update-checker (pkgs.writeScriptBin "project" '' #! ${pkgs.bash}/bin/bash diff --git a/profiles/common/nixos/nvd-rebuild.nix b/profiles/common/nixos/nvd-rebuild.nix new file mode 100644 index 0000000..b6d9ba2 --- /dev/null +++ b/profiles/common/nixos/nvd-rebuild.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: +{ + system.activationScripts.diff = { + supportsDryActivation = true; + text = '' + ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff \ + /run/current-system "$systemConfig" + ''; + }; +}