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 = [
./nautilus.nix
./sway.nix
./prismlauncher.nix
nixpkgs.overlays = [
(import ./nautilus.nix)
(import ./prismlauncher.nix)
(import ./sway.nix)
];
}

View file

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

View file

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

View file

@ -1,8 +1,4 @@
{...}: {
nixpkgs = {
overlays = [
(
final: prev: {
final: prev: {
prismlauncher = prev.prismlauncher.overrideAttrs (old: {
# Offline mode for Prism Launcher
# .patch file from some Misterio77's nix-config repo
@ -15,8 +11,4 @@
})
];
});
}
)
];
};
}

View file

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