From 31de8f10856cda16ae1fbce1f0f82562823237d9 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 24 Aug 2024 19:24:26 -0400 Subject: [PATCH] specializations: Drop gnome and plasma I added specializations over a year ago when I was still new to NixOS and trying out some of the many different features unique to it. These days I don't need much more than a terminal and a web browser, and I haven't used GNOME or Plasma in over a year at this point. Nowadays everything I need from a computer I can accomplish with the terminal. Nixpkgs trained me to dig deep into source code to figure out how to do things, and using a PinePhone significantly improved my awareness of how Linux interacts with hardware and how to configure it. One of the biggest motivators for dropping these environments is that I can't keep up with the changes that are made to GNOME and Plasma. Hyprland has served my needs well and feels more stable since there isn't a user interface that's constantly changing. --- modules/desktop.nix | 6 ------ specializations/gnome.nix | 38 -------------------------------------- specializations/plasma.nix | 28 ---------------------------- 3 files changed, 72 deletions(-) delete mode 100644 specializations/gnome.nix delete mode 100644 specializations/plasma.nix 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; -}