Refactor nautilus packages
This commit is contained in:
parent
12ec2b44b0
commit
a50f970eda
1 changed files with 24 additions and 24 deletions
|
|
@ -26,8 +26,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
config = lib.mkIf config.mods.gnome_services.enable (
|
||||||
lib.mkIf config.mods.gnome_services.enable (
|
|
||||||
lib.optionalAttrs (options ? services.gnome.gnome-keyring) {
|
lib.optionalAttrs (options ? services.gnome.gnome-keyring) {
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -41,15 +40,16 @@
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
|
||||||
// lib.optionalAttrs (options ? home.packages) {
|
// lib.optionalAttrs (options ? home.packages) {
|
||||||
home.packages = lib.mkIf config.mods.gnome_services.nautilus.enable (
|
home.packages =
|
||||||
with pkgs;
|
let
|
||||||
[
|
packages = with pkgs; [
|
||||||
nautilus
|
nautilus
|
||||||
sushi
|
sushi
|
||||||
nautilus-python
|
nautilus-python
|
||||||
]
|
];
|
||||||
|
in
|
||||||
|
lib.mkIf config.mods.nautilus.enable packages;
|
||||||
|
}
|
||||||
);
|
);
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue