From 481bfdde77d0f66f6622b978fcdff1bb1d84bac1 Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 19 Jun 2026 13:30:34 +0200 Subject: [PATCH] oldie/materusPC: KDE config --- flake.lock | 30 +++++++------- nix-config/host/materusPC/services.nix | 19 +++++++++ nix-config/host/oldie/configuration.nix | 52 +++++++++++++++++-------- 3 files changed, 70 insertions(+), 31 deletions(-) diff --git a/flake.lock b/flake.lock index 8fffe0a..d16bea8 100644 --- a/flake.lock +++ b/flake.lock @@ -91,11 +91,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1781786549, - "narHash": "sha256-IIbSs+b6MTmgjhQ5kC4MAcMpHgLvXNhpSMnyTiNVrZ4=", + "lastModified": 1781845249, + "narHash": "sha256-9Y9mZXatCrSer62y1eNk2UNUcUMzGRGSc+kEhGTe5fU=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "2a564fc31d2f77b26f1a180589599afe756f74a6", + "rev": "6392c804c62167b2007d5c2f4522993ea9354a4c", "type": "github" }, "original": { @@ -114,11 +114,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1781786549, - "narHash": "sha256-IIbSs+b6MTmgjhQ5kC4MAcMpHgLvXNhpSMnyTiNVrZ4=", + "lastModified": 1781845249, + "narHash": "sha256-9Y9mZXatCrSer62y1eNk2UNUcUMzGRGSc+kEhGTe5fU=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "2a564fc31d2f77b26f1a180589599afe756f74a6", + "rev": "6392c804c62167b2007d5c2f4522993ea9354a4c", "type": "github" }, "original": { @@ -370,11 +370,11 @@ ] }, "locked": { - "lastModified": 1781788787, - "narHash": "sha256-YqlTCRRhGvNjcJejPeMuHrYQ/TVhOO2MV/nEGMWb8nk=", + "lastModified": 1781844424, + "narHash": "sha256-sWBr0D6eu6UhmtM87NOd4oOYilIclFXGDd/s7tVvO10=", "owner": "nix-community", "repo": "home-manager", - "rev": "d456f483f157d4b706416005da226234b9c116ff", + "rev": "c804fab681f03ec772390af4421bcc9bce80c1d9", "type": "github" }, "original": { @@ -448,11 +448,11 @@ ] }, "locked": { - "lastModified": 1781756886, - "narHash": "sha256-O19FRVtXC+2fNkbIlwssYVay284ynwEK9QAvHAVTLFA=", + "lastModified": 1781844943, + "narHash": "sha256-0nNEl0eJX4TRZS+IIgS0zcXPXUywmvpZH392ad1me9Y=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "092eb7e14b6950afb62ad4b0bc2532a122d206e0", + "rev": "c964ff7750c6794b44ad44f4a76c9d33c1ec489d", "type": "github" }, "original": { @@ -470,11 +470,11 @@ ] }, "locked": { - "lastModified": 1781756886, - "narHash": "sha256-O19FRVtXC+2fNkbIlwssYVay284ynwEK9QAvHAVTLFA=", + "lastModified": 1781844943, + "narHash": "sha256-0nNEl0eJX4TRZS+IIgS0zcXPXUywmvpZH392ad1me9Y=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "092eb7e14b6950afb62ad4b0bc2532a122d206e0", + "rev": "c964ff7750c6794b44ad44f4a76c9d33c1ec489d", "type": "github" }, "original": { diff --git a/nix-config/host/materusPC/services.nix b/nix-config/host/materusPC/services.nix index a075858..8b54b4b 100644 --- a/nix-config/host/materusPC/services.nix +++ b/nix-config/host/materusPC/services.nix @@ -21,6 +21,25 @@ ]; XCURSOR_THEME = "breeze_cursors"; }; + environment.systemPackages = with pkgs.kdePackages; [ + kolourpaint + kcolorchooser + kcolorpicker + ark + bluedevil + bluez-qt + kcalc + kcron + ]; + xdg.portal.enable = true; + xdg.portal.wlr.enable = true; + xdg.portal.xdgOpenUsePortal = true; + xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; + environment.plasma6.excludePackages = with pkgs.kdePackages; [ + kwallet + kwalletmanager + kwallet-pam + ]; } #endregion ]; diff --git a/nix-config/host/oldie/configuration.nix b/nix-config/host/oldie/configuration.nix index 4f3f8ca..f213180 100644 --- a/nix-config/host/oldie/configuration.nix +++ b/nix-config/host/oldie/configuration.nix @@ -15,6 +15,42 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + + { + services.displayManager = { + autoLogin.enable = true; + autoLogin.user = "materus"; + plasma-login-manager.enable = true; + }; + services.desktopManager.plasma6.enable = true; + services.desktopManager.plasma6.enableQt5Integration = true; + xdg.portal.enable = true; + xdg.portal.wlr.enable = true; + xdg.portal.xdgOpenUsePortal = true; + xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; + environment.plasma6.excludePackages = with pkgs.kdePackages; [ + kwallet + kwalletmanager + kwallet-pam + ]; + environment.variables = { + QT_PLUGIN_PATH = [ + "${pkgs.qt6.qtimageformats}/${pkgs.qt6.qtbase.qtPluginPrefix}" + "${pkgs.kdePackages.ffmpegthumbs}/${pkgs.qt6.qtbase.qtPluginPrefix}" + ]; + XCURSOR_THEME = "breeze_cursors"; + }; + environment.systemPackages = with pkgs.kdePackages; [ + kolourpaint + kcolorchooser + kcolorpicker + ark + bluedevil + bluez-qt + kcalc + kcron + ]; + } ]; # Use the systemd-boot EFI boot loader. @@ -245,22 +281,6 @@ # Enable the X11 windowing system. services.xserver.enable = false; - services.displayManager = { - autoLogin.enable = true; - autoLogin.user = "materus"; - plasma-login-manager.enable = true; - }; - services.desktopManager.plasma6.enable = true; - services.desktopManager.plasma6.enableQt5Integration = true; - xdg.portal.enable = true; - xdg.portal.wlr.enable = true; - xdg.portal.xdgOpenUsePortal = true; - xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; - environment.plasma6.excludePackages = with pkgs.kdePackages; [ - kwallet - kwalletmanager - kwallet-pam - ]; programs.ssh.startAgent = true;