From 1de9399021075847da8f063b437bbbf5e796c353 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 31 Oct 2025 01:34:28 -0700 Subject: [PATCH 1/2] Reverted nrs alias usage --- modules/system/nix-settings.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/nix-settings.nix b/modules/system/nix-settings.nix index 3172162..27223fa 100644 --- a/modules/system/nix-settings.nix +++ b/modules/system/nix-settings.nix @@ -28,9 +28,9 @@ # Nix flake update, rebuild, switch - nus = "bash -c \"cd /etc/nixos && sudo nix flake update && nrs ; exit\""; + nus = "bash -c \"cd /etc/nixos && sudo nix flake update && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\""; # with tracing - tnus = "bash -c \"cd /etc/nixos && sudo nix flake update && tnrs ; exit\""; + tnus = "bash -c \"cd /etc/nixos && sudo nix flake update && sudo nixos-rebuild switch --show-trace --flake .#$(hostname) ; exit\""; # Special cleanup, needed when efi partition runs out of space. Deletes all but the last five generations. # Remember to make that partition bigger in the future... From aa5037b10712915454c2ab6da46d077590faad3f Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Fri, 31 Oct 2025 12:41:25 -0700 Subject: [PATCH 2/2] Add imv viewer, set as default --- modules/application-groups/media.nix | 1 + users/caperren/caperren.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/application-groups/media.nix b/modules/application-groups/media.nix index 35a13d4..d4e69e1 100644 --- a/modules/application-groups/media.nix +++ b/modules/application-groups/media.nix @@ -27,6 +27,7 @@ environment.systemPackages = with pkgs; [ glava + imv plex-desktop projectm_3 sox diff --git a/users/caperren/caperren.nix b/users/caperren/caperren.nix index b6d7715..04815cb 100644 --- a/users/caperren/caperren.nix +++ b/users/caperren/caperren.nix @@ -95,6 +95,7 @@ in "x-scheme-handler/http" = [ "firefox.desktop" ]; "x-scheme-handler/https" = [ "firefox.desktop" ]; "text/html" = [ "firefox.desktop" ]; + "image/*" = [ "imv.desktop" ]; }; };