use plasma 6

This commit is contained in:
Christoph Cullmann 2024-02-05 20:34:37 +01:00
parent 81b3e2f4f5
commit baf64c622a

View file

@ -2,6 +2,7 @@
let let
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz"; 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"; 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 in
{ {
# #
@ -15,6 +16,9 @@ in
# home manager for per user config # home manager for per user config
"${home-manager}/nixos" "${home-manager}/nixos"
# Provisional, experimental Plasma 6
"${kde2nix}/nixos.nix"
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
@ -123,18 +127,18 @@ in
services.fwupd.enable = true; services.fwupd.enable = true;
# EurKey layout everywhere # EurKey layout everywhere
services.xserver.layout = "eu"; services.xserver.xkb.layout = "eu";
console.useXkbConfig = true; console.useXkbConfig = true;
# enable the KDE Plasma Desktop Environment # enable the KDE Plasma Desktop Environment
services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.plasma6.enable = true;
# greetd console display manager # greetd console display manager
services.greetd = { services.greetd = {
enable = true; enable = true;
settings = { settings = {
default_session = { 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: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ark pkgs.kdePackages.ark
aspellDicts.de aspellDicts.de
aspellDicts.en aspellDicts.en
borgbackup borgbackup
@ -205,11 +209,11 @@ in
config.boot.kernelPackages.perf config.boot.kernelPackages.perf
efibootmgr efibootmgr
emacs emacs
falkon pkgs.kdePackages.falkon
fdupes fdupes
ffmpeg ffmpeg
file file
filelight pkgs.kdePackages.filelight
gimp gimp
gitFull gitFull
glxinfo glxinfo
@ -221,26 +225,26 @@ in
hunspellDicts.de_DE hunspellDicts.de_DE
hunspellDicts.en_US hunspellDicts.en_US
inetutils inetutils
kate pkgs.kdePackages.kate
kcachegrind kcachegrind
kcalc pkgs.kdePackages.kcalc
keychain keychain
kmail pkgs.kdePackages.kmail
kompare pkgs.kdePackages.kompare
konsole pkgs.kdePackages.konsole
konversation pkgs.kdePackages.konversation
krita krita
libjxl libjxl
libreoffice libreoffice
libva-utils libva-utils
lsof lsof
mc mc
neochat pkgs.kdePackages.neochat
nixos-install-tools nixos-install-tools
nmap nmap
nvme-cli nvme-cli
okteta okteta
okular pkgs.kdePackages.okular
p7zip p7zip
parted parted
pciutils pciutils
@ -253,7 +257,7 @@ in
texlive.combined.scheme-small texlive.combined.scheme-small
tigervnc tigervnc
tk tk
tokodon pkgs.kdePackages.tokodon
unrar unrar
unzip unzip
usbutils usbutils
@ -277,7 +281,7 @@ in
}; };
falkon = { 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"; profile = "${pkgs.firejail}/etc/firejail/falkon.profile";
}; };