diff --git a/modules/desktop.nix b/modules/desktop.nix index 50e21561..0b487cde 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -22,8 +22,6 @@ let inherit (cfg) bloat - gnome - plasma dwm container opacity @@ -74,8 +72,6 @@ in }; bloat = mkEnableOption "GUI applications"; - gnome = mkEnableOption "GNOME specialization"; - plasma = mkEnableOption "Plasma specialization"; dwm = mkEnableOption "dwm specialization"; container = mkEnableOption "disable some options for container performance"; graphical = mkEnableOption "xserver for graphical containers"; @@ -295,8 +291,6 @@ in }; specialisation = { - gnome = mkIf gnome { configuration.imports = [ ../specializations/gnome.nix ]; }; - plasma = mkIf plasma { configuration.imports = [ ../specializations/plasma.nix ]; }; dwm = mkIf dwm { configuration.imports = [ ../specializations/dwm.nix ]; }; }; }; diff --git a/specializations/gnome.nix b/specializations/gnome.nix deleted file mode 100644 index 782d1fea..00000000 --- a/specializations/gnome.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: - -let - inherit (config.modules.system) username; -in -{ - services = { - xserver = { - desktopManager.gnome.enable = true; - displayManager.gdm.enable = true; - }; - - displayManager.autoLogin = { - enable = true; - user = username; - }; - - greetd.enable = lib.mkForce false; - }; - - systemd.services = { - "getty@tty1".enable = false; - "autovt@tty1".enable = false; - }; - - i18n.inputMethod = lib.mkForce { - type = "ibus"; - ibus.engines = with pkgs.ibus-engines; [ mozc ]; - }; - - hardware.pulseaudio.enable = false; - programs.hyprland.enable = lib.mkForce false; -} diff --git a/specializations/plasma.nix b/specializations/plasma.nix deleted file mode 100644 index a83f976b..00000000 --- a/specializations/plasma.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, config, ... }: - -let - inherit (config.modules.system) username; -in -{ - services = { - displayManager = { - sddm.enable = true; - - autoLogin = { - enable = true; - user = username; - }; - }; - - desktopManager.plasma6.enable = true; - - greetd.enable = lib.mkForce false; - }; - - systemd.services = { - "getty@tty1".enable = false; - "autovt@tty1".enable = false; - }; - - programs.hyprland.enable = lib.mkForce false; -}