feat(nautilus): Use cosmic-files instead of nautilus

This commit is contained in:
ulic-youthlic 2025-09-12 20:42:21 +08:00
parent 1fdfc2dfc5
commit edad727d17
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 30 additions and 9 deletions

View file

@ -17,14 +17,23 @@ in
enable = true;
platformTheme = "qt5ct";
};
environment.systemPackages = with pkgs; [
bluez
cosmic-files
kdePackages.qt6ct
libsForQt5.qt5ct
xwayland-satellite-unstable
evince
];
# Enabled to support trash of nautilus
services.gvfs.enable = true;
environment = {
pathsToLink = [ "share/thumbnailers" ];
systemPackages = with pkgs; [
nautilus
nautilus-open-any-terminal
libheif
libheif.out
bluez
kdePackages.qt6ct
libsForQt5.qt5ct
xwayland-satellite-unstable
evince
];
};
xdg = {
terminal-exec = {
enable = true;
@ -39,7 +48,7 @@ in
"org.gnome.Evince.desktop"
];
"inode/directory" = [
"com.system76.CosmicFiles.desktop"
"org.gnome.Nautilus.desktop"
];
"x-scheme-handler/about" = [
"firefox-beta.desktop"

View file

@ -15,6 +15,7 @@ in
./cliphist.nix
./zulip.nix
./spotifyd.nix
./nautilus.nix
# Nur
./nur.nix

View file

@ -0,0 +1,11 @@
{ ... }:
_final: prev: {
nautilus = prev.nautilus.overrideAttrs (nprev: {
buildInputs =
(nprev.buildInputs or [ ])
++ (with prev.gst_all_1; [
gst-plugins-good
gst-plugins-bad
]);
});
}