From 7c4dc74124448a6eb0471d59a6a751fdf2d4cfee Mon Sep 17 00:00:00 2001 From: twoneis Date: Sun, 30 Jun 2024 18:20:28 +0200 Subject: [PATCH] remove plasma --- devices/ellaca/options.nix | 3 +- devices/inkvine/options.nix | 1 - modules/home/default.nix | 4 - modules/home/plasma/default.nix | 127 -------------------------------- options.nix | 1 - 5 files changed, 1 insertion(+), 135 deletions(-) delete mode 100644 modules/home/plasma/default.nix diff --git a/devices/ellaca/options.nix b/devices/ellaca/options.nix index a864d8f..4220c5c 100644 --- a/devices/ellaca/options.nix +++ b/devices/ellaca/options.nix @@ -6,11 +6,10 @@ withNiri = true; withGnome = false; - withPlasma = true; withVM = false; withContainers = true; - withGames = true; + withGames = false; hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input"; } diff --git a/devices/inkvine/options.nix b/devices/inkvine/options.nix index dd12192..1b74e4d 100644 --- a/devices/inkvine/options.nix +++ b/devices/inkvine/options.nix @@ -6,7 +6,6 @@ withNiri = true; withGnome = false; - withPlasma = false; withVM = false; withContainers = false; diff --git a/modules/home/default.nix b/modules/home/default.nix index a971616..d2e9874 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -7,10 +7,6 @@ (if config.withGnome then [ ./themes ] else []) - (if config.withPlasma then [ - ./plasma - ./themes - ] else []) (if config.full then [ ./programs ] else []) diff --git a/modules/home/plasma/default.nix b/modules/home/plasma/default.nix deleted file mode 100644 index 0cca881..0000000 --- a/modules/home/plasma/default.nix +++ /dev/null @@ -1,127 +0,0 @@ -{ pkgs, ... }: { -programs.plasma = { - enable = true; - - workspace = { - clickItemTo = "open"; # If you liked the click-to-open default from plasma 5 - lookAndFeel = "org.kde.breezedark.desktop"; - cursor = { - theme = "Bibata-Modern-Ice"; - size = 32; - }; - iconTheme = "Papirus-Dark"; - wallpaper = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Patak/contents/images/1080x1920.png"; - }; - - hotkeys.commands."launch-konsole" = { - name = "Launch Konsole"; - key = "Meta+Alt+K"; - command = "konsole"; - }; - - fonts = { - general = { - family = "JetBrains Mono"; - pointSize = 12; - }; - }; - - panels = [ - # Windows-like panel at the bottom - { - location = "bottom"; - widgets = [ - { - name = "org.kde.plasma.kickoff"; - config = { - General.icon = "nix-snowflake-white"; - }; - } - { - name = "org.kde.plasma.icontasks"; - config = { - General.launchers = [ - "applications:org.kde.dolphin.desktop" - "applications:org.kde.konsole.desktop" - ]; - }; - } - "org.kde.plasma.marginsseparator" - { - digitalClock = { - calendar.firstDayOfWeek = "sunday"; - time.format = "12h"; - }; - } - { - systemTray.items = { - shown = [ - "org.kde.plasma.battery" - "org.kde.plasma.bluetooth" - ]; - hidden = [ - "org.kde.plasma.networkmanagement" - "org.kde.plasma.volume" - ]; - }; - } - ]; - hiding = "autohide"; - } - { - location = "top"; - height = 26; - widgets = [ - "org.kde.plasma.appmenu" - ]; - } - ]; - - window-rules = [ - { - description = "Dolphin"; - match = { - window-class = { - value = "dolphin"; - type = "substring"; - }; - window-types = [ "normal" ]; - }; - apply = { - noborder = { - value = true; - apply = "force"; - }; - maximizehoriz = true; - maximizevert = true; - }; - } - ]; - shortcuts = { - ksmserver = { - "Lock Session" = [ "Screensaver" "Meta+Ctrl+Alt+L" ]; - }; - - kwin = { - "Expose" = "Meta+,"; - "Switch Window Down" = "Meta+J"; - "Switch Window Left" = "Meta+H"; - "Switch Window Right" = "Meta+L"; - "Switch Window Up" = "Meta+K"; - }; - }; - - configFile = { - baloofilerc."Basic Settings"."Indexing-Enabled" = false; - kwinrc."org.kde.kdecoration2".ButtonsOnLeft = "SF"; - kwinrc.Desktops.Number = { - value = 8; - immutable = true; - }; - kscreenlockerrc = { - Greeter.WallpaperPlugin = "org.kde.potd"; - "Greeter/Wallpaper/org.kde.potd/General".Provider = "bing"; - }; - }; - }; -} diff --git a/options.nix b/options.nix index 7e742dc..6cae255 100644 --- a/options.nix +++ b/options.nix @@ -7,7 +7,6 @@ withNiri = mkEnableOption "Enable niri compositor"; withGnome = mkEnableOption "Enable Gnome"; - withPlasma = mkEnableOption "Enable KDE Plasma"; withVM = mkEnableOption "Enable VM related configuration"; withContainers = mkEnableOption "Enable container support";