Restructure home and system modules
This commit is contained in:
parent
b86a8b50c7
commit
a03355b3a1
35 changed files with 82 additions and 82 deletions
42
modules/system/desktop/plasma/default.nix
Normal file
42
modules/system/desktop/plasma/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.system.desktop.plasma;
|
||||
in
|
||||
{
|
||||
options.modules.system.desktop.plasma = {
|
||||
enable = mkEnableOption ''
|
||||
Enable plasma with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.displayManager = {
|
||||
sddm.enable = true;
|
||||
defaultSession = "plasma";
|
||||
};
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; with kdePackages; [
|
||||
krfb # Use by kdeconnect for virtualmonitorplugin "krfb-virtualmonitor"
|
||||
discover
|
||||
|
||||
# Usefull for automatic informations collect software like KDE
|
||||
vulkan-tools # For vulkaninfo command
|
||||
wayland-utils # For wayland-info command
|
||||
glxinfo
|
||||
clinfo
|
||||
];
|
||||
|
||||
# Uncomment when kwin is available in nixpkgs and NVIDIA 555
|
||||
nixpkgs.overlays = [
|
||||
(import ../../../../overlays/kwin)
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue