2025-01-13 11:52:09 +08:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
2024-01-29 00:20:21 +08:00
|
|
|
cfg = config.passthrough.gnome;
|
2025-01-13 11:52:09 +08:00
|
|
|
in
|
|
|
|
mkIf cfg.enable {
|
2024-01-29 00:48:19 +08:00
|
|
|
home.packages =
|
2025-01-13 11:52:09 +08:00
|
|
|
with pkgs;
|
|
|
|
with gnome;
|
|
|
|
with gnomeExtensions;
|
|
|
|
[
|
|
|
|
# gtk3 theme
|
|
|
|
adw-gtk3
|
2024-07-30 18:51:45 +08:00
|
|
|
|
2025-01-13 11:52:09 +08:00
|
|
|
# gnomeExtensions
|
|
|
|
caffeine
|
|
|
|
dash-to-panel
|
|
|
|
dash-to-dock
|
|
|
|
appindicator
|
|
|
|
privacy-settings-menu
|
|
|
|
];
|
2024-07-29 19:56:16 +08:00
|
|
|
|
|
|
|
catppuccin.enable = mkForce false;
|
|
|
|
home.pointerCursor = mkForce null;
|
|
|
|
gtk.enable = false;
|
2024-11-26 22:42:49 +08:00
|
|
|
|
|
|
|
home.persistence."/nix/persist/home/${config.home.username}" = {
|
|
|
|
removePrefixDirectory = true;
|
|
|
|
files = [
|
2025-01-13 11:52:09 +08:00
|
|
|
(
|
|
|
|
if config.specialisation != { } then "gnome/.config/monitors.xml" else "extern/.config/monitors.xml"
|
|
|
|
)
|
2024-11-26 22:42:49 +08:00
|
|
|
];
|
|
|
|
};
|
2024-01-29 00:20:21 +08:00
|
|
|
}
|