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,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
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
@ -22,7 +18,3 @@
]; ];
}); });
} }
)
];
};
}

View file

@ -1,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
final: prev: { final: prev: {
gnome = gnome =
prev.gnome prev.gnome
@ -29,7 +25,3 @@
}); });
}; };
} }
)
];
};
}

View file

@ -1,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
final: prev: { final: prev: {
prismlauncher = prev.prismlauncher.overrideAttrs (old: { prismlauncher = prev.prismlauncher.overrideAttrs (old: {
# Offline mode for Prism Launcher # Offline mode for Prism Launcher
@ -16,7 +12,3 @@
]; ];
}); });
} }
)
];
};
}

View file

@ -1,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
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
@ -16,7 +12,3 @@
]; ];
}); });
} }
)
];
};
}