Plasma for dimondback

This commit is contained in:
Aleksandr Lebedev 2026-04-25 15:43:14 +02:00
parent 176c134b89
commit fc1e5457f2

View file

@ -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