mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 05:56:51 +01:00
update KDE
This commit is contained in:
@@ -5,8 +5,9 @@ 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
|
||||||
- **`hyprland`** - Hyprland window manager
|
- **`kde`** - KDE Plasma desktop environment
|
||||||
|
- **`hyprland`** - Hyprland window manager
|
||||||
|
|
||||||
### Quick Commands
|
### Quick Commands
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
15
os/flake.nix
15
os/flake.nix
@@ -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 = [
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user