mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop] remove Plasma 5
This commit is contained in:
parent
c6f97b69ca
commit
43ca54419b
2 changed files with 0 additions and 30 deletions
|
|
@ -6,7 +6,6 @@ let
|
||||||
in {
|
in {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./plasma5.nix
|
|
||||||
./plasma6.nix
|
./plasma6.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.aviallon.desktop;
|
|
||||||
generic = import ./generic.nix {
|
|
||||||
kdePackages = pkgs.libsForQt5;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
config = mkIf (cfg.enable && (cfg.environment == "plasma")) {
|
|
||||||
# Enable the Plasma 5 Desktop Environment.
|
|
||||||
services.xserver.desktopManager.plasma5 = {
|
|
||||||
enable = true;
|
|
||||||
runUsingSystemd = true;
|
|
||||||
useQtScaling = true;
|
|
||||||
|
|
||||||
# Removed in: https://github.com/NixOS/nixpkgs/pull/172078
|
|
||||||
# and: https://github.com/NixOS/nixpkgs/pull/221721
|
|
||||||
# Once this (https://invent.kde.org/plasma/powerdevil/-/issues/19) is solved, make PR to add it back (prehaps by default?)
|
|
||||||
# supportDDC = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = generic.commonPackages ++ [
|
|
||||||
pkgs.kio-fuse
|
|
||||||
];
|
|
||||||
|
|
||||||
# We prefer Plasma Wayland
|
|
||||||
services.displayManager.defaultSession = "plasmawayland";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue