update KDE

This commit is contained in:
2025-08-18 21:12:45 +02:00
parent 267da09f7a
commit 902147aedd
3 changed files with 45 additions and 8 deletions

View File

@@ -5,7 +5,8 @@ This repo contains my personal NixOS configuration with multiple desktop environ
## Quick Start ## Quick Start
### Available Configurations ### Available Configurations
- **`nixos`** - GNOME desktop environment - **`gnome`** - GNOME desktop environment
- **`kde`** - KDE Plasma desktop environment
- **`hyprland`** - Hyprland window manager - **`hyprland`** - Hyprland window manager
### Quick Commands ### Quick Commands

View File

@@ -9,7 +9,7 @@
outputs = { self, nixpkgs, home-manager }: { outputs = { self, nixpkgs, home-manager }: {
nixosConfigurations = { nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem { gnome = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
@@ -22,6 +22,19 @@
./users/master.nix ./users/master.nix
]; ];
}; };
kde = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
./configuration.nix
./hardware/lenovo-thinkpad-e14.nix
./system/base.nix
./system/packages.nix
./system/desktop/plasma.nix
./users/demo.nix
./users/master.nix
];
};
hyprland = nixpkgs.lib.nixosSystem { hyprland = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [

View File

@@ -1,9 +1,32 @@
{ pkgs, ... }: { { pkgs, ... }: {
services.xserver = { #services.xserver = {
enable = true; # enable = true;
layout = "ch"; # layout = "ch";
xkbVariant = ""; # xkbVariant = "";
# displayManager.sddm.enable = true;
# desktopManager.plasma6.enable = true;
#};
services = {
desktopManager.plasma6.enable = true;
displayManager.sddm.enable = true; displayManager.sddm.enable = true;
desktopManager.plasma5.enable = true; displayManager.sddm.wayland.enable = true;
}; };
environment.systemPackages = with pkgs;
[
kdePackages.discover # Optional: Install if you use Flatpak or fwupd firmware update sevice
kdePackages.kcalc # Calculator
kdePackages.kcharselect # Tool to select and copy special characters from all installed fonts
kdePackages.kcolorchooser # A small utility to select a color
kdePackages.kolourpaint # Easy-to-use paint program
kdePackages.ksystemlog # KDE SystemLog Application
kdePackages.sddm-kcm # Configuration module for SDDM
kdiff3 # Compares and merges 2 or 3 files or directories
kdePackages.isoimagewriter # Optional: Program to write hybrid ISO files onto USB disks
kdePackages.partitionmanager # Optional Manage the disk devices, partitions and file systems on your computer
hardinfo2 # System information and benchmarks for Linux systems
haruna # Open source video player built with Qt/QML and libmpv
wayland-utils # Wayland utilities
wl-clipboard # Command-line copy/paste utilities for Wayland
];
} }