From 48286bef67bbaf4bb777928e328688e5ab8d80a9 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 28 Jul 2024 14:00:45 -0400 Subject: [PATCH] gnome: remove option references --- homeManagerModules/apps/firefox/default.nix | 3 +-- homeManagerModules/apps/vsCodium/default.nix | 5 +---- homeManagerModules/desktop/default.nix | 3 +-- nixosModules/desktop/default.nix | 3 +-- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/homeManagerModules/apps/firefox/default.nix b/homeManagerModules/apps/firefox/default.nix index 2a7ee4d2..d6c86882 100644 --- a/homeManagerModules/apps/firefox/default.nix +++ b/homeManagerModules/apps/firefox/default.nix @@ -8,8 +8,7 @@ programs.firefox = { enable = true; nativeMessagingHosts = - lib.optionals (config.ar.home.apps.keepassxc.enable) [pkgs.keepassxc] - ++ lib.optionals (config.ar.home.desktop.gnome.enable) [pkgs.gnome-browser-connector]; + lib.optional (config.ar.home.apps.keepassxc.enable) pkgs.keepassxc; }; }; } diff --git a/homeManagerModules/apps/vsCodium/default.nix b/homeManagerModules/apps/vsCodium/default.nix index 97e1671a..afb2523b 100644 --- a/homeManagerModules/apps/vsCodium/default.nix +++ b/homeManagerModules/apps/vsCodium/default.nix @@ -50,10 +50,7 @@ "terminal.integrated.fontSize" = lib.mkDefault 14; "update.mode" = "none"; "window.menuBarVisibility" = "hidden"; - "window.titleBarStyle" = - if config.ar.home.desktop.gnome.enable - then "custom" - else "native"; + "window.titleBarStyle" = lib.mkDefault "native"; "window.zoomPerWindow" = false; "workbench.colorTheme" = if config.ar.home.theme.darkMode diff --git a/homeManagerModules/desktop/default.nix b/homeManagerModules/desktop/default.nix index 1aa3069b..448deeeb 100644 --- a/homeManagerModules/desktop/default.nix +++ b/homeManagerModules/desktop/default.nix @@ -13,8 +13,7 @@ config = lib.mkIf ( - config.ar.home.desktop.gnome.enable - || config.ar.home.desktop.hyprland.enable + config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable ) { dconf = { diff --git a/nixosModules/desktop/default.nix b/nixosModules/desktop/default.nix index d7146d86..a01b272c 100644 --- a/nixosModules/desktop/default.nix +++ b/nixosModules/desktop/default.nix @@ -14,8 +14,7 @@ config = lib.mkIf ( - config.ar.desktop.gnome.enable - || config.ar.desktop.hyprland.enable + config.ar.desktop.hyprland.enable || config.ar.desktop.steam.enable || config.ar.desktop.sway.enable ) {