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 but with .mozilla moved to .config/mozilla
# .patch file from aur/firefox-xdg

View file

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

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -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"]);
};
}