From ecbe664521292bbcbbabc91d9c9cb58082c1e259 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 13 Apr 2024 18:21:14 +0530 Subject: [PATCH] enable gnome --- modules/home-manager/default.nix | 2 +- modules/home-manager/gnome-utils/default.nix | 13 ++++++++---- modules/nixos/display-manager/default.nix | 21 ++++---------------- 3 files changed, 14 insertions(+), 22 deletions(-) diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 8a4410d..542c5aa 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -26,7 +26,7 @@ bash.enable = lib.mkDefault true; bat.enable = lib.mkDefault true; direnv.enable = lib.mkDefault true; - gnome-utils.enable = lib.mkDefault false; + gnome-utils.enable = lib.mkDefault true; kde-utils.enable = lib.mkDefault true; kitty.enable = lib.mkDefault true; neovim.enable = lib.mkDefault true; diff --git a/modules/home-manager/gnome-utils/default.nix b/modules/home-manager/gnome-utils/default.nix index ba02215..9ec60a7 100644 --- a/modules/home-manager/gnome-utils/default.nix +++ b/modules/home-manager/gnome-utils/default.nix @@ -8,9 +8,14 @@ gnome-utils.enable = lib.mkEnableOption "enable gnome-utils"; }; config = lib.mkIf config.gnome-utils.enable { - home.packages = with pkgs; [ - gnome.gnome-tweaks - gnome-extension-manager - ]; + home.packages = + (with pkgs; [ + gnome.gnome-tweaks + gnome-extension-manager + ]) + ++ (with pkgs.gnomeExtensions; [ + user-themes + blur-my-shell + ]); }; } diff --git a/modules/nixos/display-manager/default.nix b/modules/nixos/display-manager/default.nix index 22bed1e..e54d436 100644 --- a/modules/nixos/display-manager/default.nix +++ b/modules/nixos/display-manager/default.nix @@ -13,40 +13,27 @@ enable = true; displayManager = { sddm = { - enable = true; + enable = false; wayland = { enable = true; #compositor = "kwin"; }; }; - gdm.enable = false; + gdm.enable = true; }; desktopManager = { - gnome.enable = false; + gnome.enable = true; }; xkb = { layout = "us"; variant = ""; }; }; - desktopManager.plasma6.enable = true; + desktopManager.plasma6.enable = false; }; environment.systemPackages = with pkgs; [ dunst grim - gnomeExtensions.autohide-battery - gnomeExtensions.aylurs-widgets - gnomeExtensions.bluetooth-battery - gnomeExtensions.clipboard-indicator - gnomeExtensions.hide-activities-button - gnomeExtensions.hide-top-bar - gnomeExtensions.ideapad-controls - gnomeExtensions.lock-keys - gnomeExtensions.maximize-to-empty-workspace - gnomeExtensions.media-controls - gnomeExtensions.openweather - gnomeExtensions.system-monitor-next - gnomeExtensions.wireless-hid kdePackages.ksystemstats libsForQt5.bismuth libnotify