diff --git a/nixos/profiles/core/packages/overlays/firefox.nix b/nixos/profiles/core/packages/overlays/firefox.nix index 8a49bb7..ce0e35e 100644 --- a/nixos/profiles/core/packages/overlays/firefox.nix +++ b/nixos/profiles/core/packages/overlays/firefox.nix @@ -1,4 +1,4 @@ -final: prev: { +_final: prev: { firefox-unwrapped = prev.firefox-unwrapped.overrideAttrs (old: { # Firefox but with .mozilla moved to .config/mozilla # .patch file from aur/firefox-xdg diff --git a/nixos/profiles/core/packages/overlays/nautilus.nix b/nixos/profiles/core/packages/overlays/nautilus.nix index 7acf8e3..8cc8705 100644 --- a/nixos/profiles/core/packages/overlays/nautilus.nix +++ b/nixos/profiles/core/packages/overlays/nautilus.nix @@ -1,4 +1,4 @@ -final: prev: { +_final: prev: { gnome = prev.gnome // { diff --git a/nixos/profiles/core/packages/overlays/prismlauncher.nix b/nixos/profiles/core/packages/overlays/prismlauncher.nix index 97bae05..33f3287 100644 --- a/nixos/profiles/core/packages/overlays/prismlauncher.nix +++ b/nixos/profiles/core/packages/overlays/prismlauncher.nix @@ -1,4 +1,4 @@ -final: prev: { +_final: prev: { prismlauncher = prev.prismlauncher.overrideAttrs (old: { # Offline mode for Prism Launcher # .patch file from some Misterio77's nix-config repo diff --git a/nixos/profiles/core/packages/overlays/sway.nix b/nixos/profiles/core/packages/overlays/sway.nix index e032e1f..9e9875b 100644 --- a/nixos/profiles/core/packages/overlays/sway.nix +++ b/nixos/profiles/core/packages/overlays/sway.nix @@ -1,4 +1,4 @@ -final: prev: { +_final: prev: { sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: { # Add input panel to sway # .patch file from https://github.com/swaywm/sway/pull/7226 diff --git a/users/guanranwang/nixos/profiles/device-type/desktop/home/scripts/default.nix b/users/guanranwang/nixos/profiles/device-type/desktop/home/scripts/default.nix index f1982eb..27d78dc 100644 --- a/users/guanranwang/nixos/profiles/device-type/desktop/home/scripts/default.nix +++ b/users/guanranwang/nixos/profiles/device-type/desktop/home/scripts/default.nix @@ -2,7 +2,7 @@ binPATH = ".local/bin"; in { home.sessionPath = ["$HOME/${binPATH}"]; - home.file = builtins.mapAttrs (name: value: value // {executable = true;}) { + home.file = builtins.mapAttrs (_name: value: value // {executable = true;}) { ${binPATH} = { source = ./bin; recursive = true; diff --git a/users/guanranwang/nixos/profiles/device-type/desktop/home/xdg-mime.nix b/users/guanranwang/nixos/profiles/device-type/desktop/home/xdg-mime.nix index 523d515..fb95bc3 100644 --- a/users/guanranwang/nixos/profiles/device-type/desktop/home/xdg-mime.nix +++ b/users/guanranwang/nixos/profiles/device-type/desktop/home/xdg-mime.nix @@ -16,7 +16,7 @@ "x-scheme-handler/https" "x-scheme-handler/about" "x-scheme-handler/unknown" - ] (n: ["librewolf.desktop" "firefox.desktop" "chromium-browser.desktop"]) + ] (_n: ["librewolf.desktop" "firefox.desktop" "chromium-browser.desktop"]) ### Audio player // lib.genAttrs [ "audio/aac" @@ -24,26 +24,26 @@ "audio/mpeg" "audio/ogg" "audio/wav" - ] (n: ["io.bassi.Amberol.desktop" "mpv.desktop"]) + ] (_n: ["io.bassi.Amberol.desktop" "mpv.desktop"]) ### Image viewer // lib.genAttrs [ "image/gif" "image/jpeg" "image/png" "image/webp" - ] (n: ["org.gnome.Loupe.desktop"]) + ] (_n: ["org.gnome.Loupe.desktop"]) ### Video player // lib.genAttrs [ "video/mp4" "video/mpeg" "video/webm" - ] (n: ["mpv.desktop"]) + ] (_n: ["mpv.desktop"]) ### Code editor // lib.genAttrs [ "text/css" "text/html" "text/javascript" "text/plain" - ] (n: ["codium.desktop" "Helix.desktop" "nvim.desktop"]); + ] (_n: ["codium.desktop" "Helix.desktop" "nvim.desktop"]); }; }