porcorosso: let's try KDE
This commit is contained in:
parent
a12f2a8b07
commit
074b3d25b6
3 changed files with 41 additions and 7 deletions
10
ops/nixos/lib/home-manager/plasma.nix
Normal file
10
ops/nixos/lib/home-manager/plasma.nix
Normal 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
22
ops/nixos/lib/plasma.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -25,6 +25,7 @@ in {
|
|||
imports = [
|
||||
../lib/zfs.nix
|
||||
../lib/graphical-client-x11.nix
|
||||
../lib/plasma.nix
|
||||
../lib/whitby-distributed.nix
|
||||
];
|
||||
|
||||
|
@ -340,13 +341,14 @@ in {
|
|||
mandatoryFeatures = [ ];
|
||||
}];
|
||||
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
DISK_DEVICES = "nvme0n1 nvme1n1 nvme2n1";
|
||||
DISK_IOSCHED = "mq-deadline mq-deadline mq-deadline";
|
||||
};
|
||||
};
|
||||
# XXX: disabled because conflicts with plasma5
|
||||
#services.tlp = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# DISK_DEVICES = "nvme0n1 nvme1n1 nvme2n1";
|
||||
# DISK_IOSCHED = "mq-deadline mq-deadline mq-deadline";
|
||||
# };
|
||||
#};
|
||||
|
||||
my.scrapeJournal.enable = false; # Laptop, don't pull too much.
|
||||
|
||||
|
|
Loading…
Reference in a new issue