nixos,overlays: imports -> import

This commit is contained in:
Guanran Wang 2023-11-09 12:21:04 +08:00
parent 96f5d82a5d
commit 6115991804
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
5 changed files with 75 additions and 107 deletions

View file

@ -1,7 +1,7 @@
{...}: { {...}: {
imports = [ nixpkgs.overlays = [
./nautilus.nix (import ./nautilus.nix)
./sway.nix (import ./prismlauncher.nix)
./prismlauncher.nix (import ./sway.nix)
]; ];
} }

View file

@ -1,8 +1,4 @@
{...}: { final: prev: {
nixpkgs = {
overlays = [
(
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
@ -21,8 +17,4 @@
+ "/firefox-xdg-support.diff") + "/firefox-xdg-support.diff")
]; ];
}); });
}
)
];
};
} }

View file

@ -1,8 +1,4 @@
{...}: { final: prev: {
nixpkgs = {
overlays = [
(
final: prev: {
gnome = gnome =
prev.gnome prev.gnome
// { // {
@ -28,8 +24,4 @@
]; ];
}); });
}; };
}
)
];
};
} }

View file

@ -1,8 +1,4 @@
{...}: { final: prev: {
nixpkgs = {
overlays = [
(
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
@ -15,8 +11,4 @@
}) })
]; ];
}); });
}
)
];
};
} }

View file

@ -1,8 +1,4 @@
{...}: { final: prev: {
nixpkgs = {
overlays = [
(
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
@ -15,8 +11,4 @@
}) })
]; ];
}); });
}
)
];
};
} }