dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit cff08c9117bfc008b48a02197038d7910c05d4ac parent 4513155e7e17c3c41363112bcaf475262e31ee58 Author: maydayv7 <maydayv7@gmail.com> Date: Sun, 28 Dec 2025 20:43:41 +0530 fix: Update Fixes
Diffstat:
| M | devices/valkyrie/default.nix | | | 2 | +- |
| M | modules/apps/discord.nix | | | 6 | +++--- |
| M | modules/apps/git/user.nix | | | 1 | + |
| M | modules/gui/desktop/niri/apps/launcher.nix | | | 4 | ++-- |
| M | modules/gui/desktop/niri/settings/apps.nix | | | 5 | ----- |
| M | modules/gui/desktop/niri/settings/keybinds.nix | | | 4 | ++-- |
| A | packages/patches/gscan2pdf.patch | | | 12 | ++++++++++++ |
7 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/devices/valkyrie/default.nix b/devices/valkyrie/default.nix @@ -75,7 +75,7 @@ }; gui = { - desktop = "hyprland"; + desktop = "niri"; display = "eDP-1"; wallpaper = "Quasar"; fancy = true; diff --git a/modules/apps/discord.nix b/modules/apps/discord.nix @@ -44,10 +44,10 @@ in betterSessions.enable = true; betterSettings.enable = true; biggerStreamPreview.enable = true; - blurNsfw.enable = true; + BlurNSFW.enable = true; copyEmojiMarkdown.enable = true; copyFileContents.enable = true; - copyUserUrLs.enable = true; + CopyUserURLs.enable = true; crashHandler.enable = true; decor.enable = true; expressionCloner.enable = true; @@ -62,7 +62,7 @@ in mentionAvatars.enable = true; messageClickActions.enable = true; messageLinkEmbeds.enable = true; - pinDMs.enable = true; + PinDMs.enable = true; platformIndicators.enable = true; previewMessage.enable = true; quickMention.enable = true; diff --git a/modules/apps/git/user.nix b/modules/apps/git/user.nix @@ -26,6 +26,7 @@ in }; signing = { + format = "openpgp"; signByDefault = lib.mkIf (cfg.key != "") true; key = lib.mkIf (cfg.key != "") (builtins.substring 24 30 cfg.key); }; diff --git a/modules/gui/desktop/niri/apps/launcher.nix b/modules/gui/desktop/niri/apps/launcher.nix @@ -12,11 +12,11 @@ homeConfig = { programs.rofi = { enable = true; - package = pkgs.rofi-wayland; + package = pkgs.rofi; configPath = ".config/rofi/main.rasi"; plugins = with pkgs; [ rofi-calc - rofi-emoji-wayland + rofi-emoji ]; }; diff --git a/modules/gui/desktop/niri/settings/apps.nix b/modules/gui/desktop/niri/settings/apps.nix @@ -30,11 +30,6 @@ in { # Applications - "Alt+Tab" = { - action = spawn "rofi" "-show" "window"; - hotkey-overlay.title = "Window Switcher"; - }; - "Super+space" = { action = spawn "rofi" "-show" "drun"; hotkey-overlay.title = "Launcher"; diff --git a/modules/gui/desktop/niri/settings/keybinds.nix b/modules/gui/desktop/niri/settings/keybinds.nix @@ -41,9 +41,9 @@ in "Super+Shift+Down".action = move-window-down-or-to-workspace-down; "Super+Shift+Return".action = move-window-to-monitor-next; - "Print".action = screenshot; + "Print".action.screenshot = [ ]; "Shift+Print".action.screenshot-screen = [ ]; - "Ctrl+Print".action = screenshot-window; + "Ctrl+Print".action.screenshot-window = [ ]; # Controls "Super+L" = { diff --git a/packages/patches/gscan2pdf.patch b/packages/patches/gscan2pdf.patch @@ -0,0 +1,12 @@ +--- a/pkgs/by-name/gs/gscan2pdf/package.nix ++++ b/pkgs/by-name/gs/gscan2pdf/package.nix +@@ -123,6 +123,9 @@ perlPackages.buildPerlPackage rec { + ]); + + checkPhase = '' ++ # Temporarily disable a test failing because of a behavioural change in ImageMagick7 ++ rm t/04_Page.t ++ + export XDG_CACHE_HOME="$(mktemp -d)" + xvfb-run -s '-screen 0 800x600x24' \ + make test