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,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
final: prev: {
firefox-unwrapped = prev.firefox-unwrapped.overrideAttrs (old: {
# Firefox but with .mozilla moved to .config/mozilla
@ -22,7 +18,3 @@
];
});
}
)
];
};
}

View file

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

View file

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

View file

@ -1,7 +1,3 @@
{...}: {
nixpkgs = {
overlays = [
(
final: prev: {
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
# Add input panel to sway
@ -16,7 +12,3 @@
];
});
}
)
];
};
}