Update to Plasma 6, remove plymouth

This commit is contained in:
Felix Suchert 2024-03-22 10:40:02 +01:00
parent 371bf5a568
commit b3275019b7
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
3 changed files with 29 additions and 23 deletions

View file

@ -44,8 +44,8 @@
# OVERRIDES ##########################################################
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
"freeimage-unstable-2021-11-01"
#"electron-25.9.0"
#"freeimage-unstable-2021-11-01"
];
@ -56,10 +56,11 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth = {
enable = true;
theme = "breeze";
};
# NOTE(feliix42): Didn't work as I wanted it to so...
# boot.plymouth = {
# enable = true;
# theme = "breeze";
# };
# ------------ kernel -------------------------------------------------------
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_7;
@ -291,6 +292,7 @@
## git and friends
gitAndTools.delta
gitAndTools.gitui
difftastic
## terminal, browsers, text editing, note taking
alacritty
# TODO(feliix42): Fix at some point!

View file

@ -1,25 +1,27 @@
{ pkgs, ... }:
{
services.xserver = {
enable = false;
autorun = false;
services.desktopManager.plasma6.enable = true;
desktopManager.plasma5 = {
enable = true;
};
# services.xserver = {
# enable = false;
# autorun = false;
# use startx to run plasma
displayManager.startx.enable = true;
# desktopManager.plasma5 = {
# enable = true;
# };
# I'd like a log please
logFile = "/var/log/Xorg.0.log";
};
# # use startx to run plasma
# displayManager.startx.enable = true;
environment.etc."X11/xinit/xinitrc".text = ''
export DESKTOP_SESSION=plasma
exec ${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-x11
'';
# # I'd like a log please
# logFile = "/var/log/Xorg.0.log";
# };
# environment.etc."X11/xinit/xinitrc".text = ''
# export DESKTOP_SESSION=plasma
# exec ${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-x11
# '';
#environment.variables = {
#GDK_SCALE = "2";

View file

@ -111,9 +111,11 @@ in
environment.etc."greetd/environments".text = ''
${pkgs.sway}/bin/sway
${pkgs.xorg.xinit}/bin/startx
${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-wayland
sway
startplasma-wayland
${pkgs.fish}/bin/fish
'';
# ${pkgs.xorg.xinit}/bin/startx
# ${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-wayland
}