porcorosso: let's try KDE

This commit is contained in:
Luke Granger-Brown 2023-05-14 15:04:36 +01:00
parent a12f2a8b07
commit 074b3d25b6
3 changed files with 41 additions and 7 deletions

View file

@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: 2023 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }:
{
config = {
services.kdeconnect.enable = true;
};
}

22
ops/nixos/lib/plasma.nix Normal file
View file

@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2023 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }:
{
config = {
my.home-manager.imports = lib.mkAfter [ ./home-manager/plasma.nix ];
services.xserver.desktopManager.plasma5 = {
enable = true;
useQtScaling = true;
};
qt.platformTheme = "kde";
environment.systemPackages = with pkgs.libsForQt5; [
# Bismuth, tiling window manager
bismuth
];
};
}

View file

@ -25,6 +25,7 @@ in {
imports = [ imports = [
../lib/zfs.nix ../lib/zfs.nix
../lib/graphical-client-x11.nix ../lib/graphical-client-x11.nix
../lib/plasma.nix
../lib/whitby-distributed.nix ../lib/whitby-distributed.nix
]; ];
@ -340,13 +341,14 @@ in {
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
}]; }];
services.tlp = { # XXX: disabled because conflicts with plasma5
enable = true; #services.tlp = {
settings = { # enable = true;
DISK_DEVICES = "nvme0n1 nvme1n1 nvme2n1"; # settings = {
DISK_IOSCHED = "mq-deadline mq-deadline mq-deadline"; # DISK_DEVICES = "nvme0n1 nvme1n1 nvme2n1";
}; # DISK_IOSCHED = "mq-deadline mq-deadline mq-deadline";
}; # };
#};
my.scrapeJournal.enable = false; # Laptop, don't pull too much. my.scrapeJournal.enable = false; # Laptop, don't pull too much.