mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
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.
This commit is contained in:
parent
c00ebbd691
commit
31de8f1085
@ -22,8 +22,6 @@ let
|
|||||||
|
|
||||||
inherit (cfg)
|
inherit (cfg)
|
||||||
bloat
|
bloat
|
||||||
gnome
|
|
||||||
plasma
|
|
||||||
dwm
|
dwm
|
||||||
container
|
container
|
||||||
opacity
|
opacity
|
||||||
@ -74,8 +72,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
bloat = mkEnableOption "GUI applications";
|
bloat = mkEnableOption "GUI applications";
|
||||||
gnome = mkEnableOption "GNOME specialization";
|
|
||||||
plasma = mkEnableOption "Plasma specialization";
|
|
||||||
dwm = mkEnableOption "dwm specialization";
|
dwm = mkEnableOption "dwm specialization";
|
||||||
container = mkEnableOption "disable some options for container performance";
|
container = mkEnableOption "disable some options for container performance";
|
||||||
graphical = mkEnableOption "xserver for graphical containers";
|
graphical = mkEnableOption "xserver for graphical containers";
|
||||||
@ -295,8 +291,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
specialisation = {
|
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 ]; };
|
dwm = mkIf dwm { configuration.imports = [ ../specializations/dwm.nix ]; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -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;
|
|
||||||
}
|
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user