summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-02-05 20:34:37 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-02-05 20:34:37 +0100
commitbaf64c622a39b5d069fee2bc70ca71f6e71a23c6 (patch)
tree33861e89315b2c58da8e3b51a3862fda504e6d62
parent81b3e2f4f59b40d3417d71dc1814deb25cfe1ad4 (diff)
use plasma 6
-rw-r--r--common.nix36
1 files changed, 20 insertions, 16 deletions
diff --git a/common.nix b/common.nix
index a9d444e..672187e 100644
--- a/common.nix
+++ b/common.nix
@@ -2,6 +2,7 @@
let
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
+ kde2nix = builtins.fetchTarball "https://github.com/nix-community/kde2nix/archive/main.tar.gz";
in
{
#
@@ -15,6 +16,9 @@ in
# home manager for per user config
"${home-manager}/nixos"
+
+ # Provisional, experimental Plasma 6
+ "${kde2nix}/nixos.nix"
];
# This value determines the NixOS release from which the default
@@ -123,18 +127,18 @@ in
services.fwupd.enable = true;
# EurKey layout everywhere
- services.xserver.layout = "eu";
+ services.xserver.xkb.layout = "eu";
console.useXkbConfig = true;
# enable the KDE Plasma Desktop Environment
- services.xserver.desktopManager.plasma5.enable = true;
+ services.xserver.desktopManager.plasma6.enable = true;
# greetd console display manager
services.greetd = {
enable = true;
settings = {
default_session = {
- command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd '${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland'";
+ command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd '${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland'";
};
};
};
@@ -193,7 +197,7 @@ in
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
- ark
+ pkgs.kdePackages.ark
aspellDicts.de
aspellDicts.en
borgbackup
@@ -205,11 +209,11 @@ in
config.boot.kernelPackages.perf
efibootmgr
emacs
- falkon
+ pkgs.kdePackages.falkon
fdupes
ffmpeg
file
- filelight
+ pkgs.kdePackages.filelight
gimp
gitFull
glxinfo
@@ -221,26 +225,26 @@ in
hunspellDicts.de_DE
hunspellDicts.en_US
inetutils
- kate
+ pkgs.kdePackages.kate
kcachegrind
- kcalc
+ pkgs.kdePackages.kcalc
keychain
- kmail
- kompare
- konsole
- konversation
+ pkgs.kdePackages.kmail
+ pkgs.kdePackages.kompare
+ pkgs.kdePackages.konsole
+ pkgs.kdePackages.konversation
krita
libjxl
libreoffice
libva-utils
lsof
mc
- neochat
+ pkgs.kdePackages.neochat
nixos-install-tools
nmap
nvme-cli
okteta
- okular
+ pkgs.kdePackages.okular
p7zip
parted
pciutils
@@ -253,7 +257,7 @@ in
texlive.combined.scheme-small
tigervnc
tk
- tokodon
+ pkgs.kdePackages.tokodon
unrar
unzip
usbutils
@@ -277,7 +281,7 @@ in
};
falkon = {
- executable = "${pkgs.lib.getBin pkgs.falkon}/bin/falkon";
+ executable = "${pkgs.lib.getBin pkgs.kdePackages.falkon}/bin/falkon";
profile = "${pkgs.firejail}/etc/firejail/falkon.profile";
};