treewide: run deadnix -e

This commit is contained in:
Guanran Wang 2023-12-16 15:22:27 +08:00
parent 99bdd0927e
commit 32bab88502
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
6 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
final: prev: { _final: prev: {
firefox-unwrapped = prev.firefox-unwrapped.overrideAttrs (old: { firefox-unwrapped = prev.firefox-unwrapped.overrideAttrs (old: {
# Firefox but with .mozilla moved to .config/mozilla # Firefox but with .mozilla moved to .config/mozilla
# .patch file from aur/firefox-xdg # .patch file from aur/firefox-xdg

View file

@ -1,4 +1,4 @@
final: prev: { _final: prev: {
gnome = gnome =
prev.gnome prev.gnome
// { // {

View file

@ -1,4 +1,4 @@
final: prev: { _final: prev: {
prismlauncher = prev.prismlauncher.overrideAttrs (old: { prismlauncher = prev.prismlauncher.overrideAttrs (old: {
# Offline mode for Prism Launcher # Offline mode for Prism Launcher
# .patch file from some Misterio77's nix-config repo # .patch file from some Misterio77's nix-config repo

View file

@ -1,4 +1,4 @@
final: prev: { _final: prev: {
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: { sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
# Add input panel to sway # Add input panel to sway
# .patch file from https://github.com/swaywm/sway/pull/7226 # .patch file from https://github.com/swaywm/sway/pull/7226

View file

@ -2,7 +2,7 @@
binPATH = ".local/bin"; binPATH = ".local/bin";
in { in {
home.sessionPath = ["$HOME/${binPATH}"]; home.sessionPath = ["$HOME/${binPATH}"];
home.file = builtins.mapAttrs (name: value: value // {executable = true;}) { home.file = builtins.mapAttrs (_name: value: value // {executable = true;}) {
${binPATH} = { ${binPATH} = {
source = ./bin; source = ./bin;
recursive = true; recursive = true;

View file

@ -16,7 +16,7 @@
"x-scheme-handler/https" "x-scheme-handler/https"
"x-scheme-handler/about" "x-scheme-handler/about"
"x-scheme-handler/unknown" "x-scheme-handler/unknown"
] (n: ["librewolf.desktop" "firefox.desktop" "chromium-browser.desktop"]) ] (_n: ["librewolf.desktop" "firefox.desktop" "chromium-browser.desktop"])
### Audio player ### Audio player
// lib.genAttrs [ // lib.genAttrs [
"audio/aac" "audio/aac"
@ -24,26 +24,26 @@
"audio/mpeg" "audio/mpeg"
"audio/ogg" "audio/ogg"
"audio/wav" "audio/wav"
] (n: ["io.bassi.Amberol.desktop" "mpv.desktop"]) ] (_n: ["io.bassi.Amberol.desktop" "mpv.desktop"])
### Image viewer ### Image viewer
// lib.genAttrs [ // lib.genAttrs [
"image/gif" "image/gif"
"image/jpeg" "image/jpeg"
"image/png" "image/png"
"image/webp" "image/webp"
] (n: ["org.gnome.Loupe.desktop"]) ] (_n: ["org.gnome.Loupe.desktop"])
### Video player ### Video player
// lib.genAttrs [ // lib.genAttrs [
"video/mp4" "video/mp4"
"video/mpeg" "video/mpeg"
"video/webm" "video/webm"
] (n: ["mpv.desktop"]) ] (_n: ["mpv.desktop"])
### Code editor ### Code editor
// lib.genAttrs [ // lib.genAttrs [
"text/css" "text/css"
"text/html" "text/html"
"text/javascript" "text/javascript"
"text/plain" "text/plain"
] (n: ["codium.desktop" "Helix.desktop" "nvim.desktop"]); ] (_n: ["codium.desktop" "Helix.desktop" "nvim.desktop"]);
}; };
} }