From fc1e5457f24a0ede734117a6422492c4e95c6ad2 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Sat, 25 Apr 2026 15:43:14 +0200 Subject: [PATCH] Plasma for dimondback --- systems/x86_64-linux/dimondback/default.nix | 34 +++++++++++++-------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/systems/x86_64-linux/dimondback/default.nix b/systems/x86_64-linux/dimondback/default.nix index 6919a99..655fd6c 100644 --- a/systems/x86_64-linux/dimondback/default.nix +++ b/systems/x86_64-linux/dimondback/default.nix @@ -12,13 +12,7 @@ ... }: with lib; -with lib.custom; let - kodi-with-addons = pkgs.kodi-wayland.withPackages (kodiPkgs: - with kodiPkgs; [ - inputstream-adaptive - bluetooth-manager - ]); -in { +with lib.custom; { facter.reportPath = if (builtins.pathExists ./facter.json) then ./facter.json @@ -40,13 +34,29 @@ in { custom.presets.default = enabled; custom.hardware.bluetooth.enable = true; - users.extraUsers.kodi.isNormalUser = true; - services.cage.user = "kodi"; - services.cage.program = "${kodi-with-addons}/bin/kodi-standalone"; - services.cage.enable = true; + services.displayManager.sddm = { + enable = true; + theme = "breeze"; + wayland.enable = true; + enableHidpi = true; + settings = { + Autologin = { + Session = "plasma.desktop"; + User = "tv"; + }; + }; + }; + services.desktopManager.plasma6.enable = true; + + users.users.tv = { + isNormalUser = true; + extraGroups = ["networkmanager"]; + password = ""; + }; + environment.systemPackages = with pkgs; [ - kodi-with-addons + librewolf tmux icloudpd immich-go