Removed a lot of desktop entries, to clean up Menu. Added a boot splash screen.

This commit is contained in:
2025-10-17 10:17:35 +02:00
parent 820c7b4454
commit 6ce39c9577
6 changed files with 127 additions and 28 deletions

23
boot-splash.nix Normal file
View File

@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
{
boot = {
loader.timeout = 0;
# silence first boot output
consoleLogLevel = 3;
initrd.verbose = false;
initrd.systemd.enable = true;
kernelParams = [
"quiet"
"splash"
"intremap=on"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# plymouth, showing after LUKS unlock
plymouth.enable = true;
plymouth.font = "${pkgs.hack-font}/share/fonts/truetype/Hack-Regular.ttf";
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png";
};
}

View File

@ -41,6 +41,7 @@
modules = [
./configuration.nix
./firefox.nix
./boot-splash.nix
./zsh.nix
./neovim.nix
./packages.nix

View File

@ -24,16 +24,86 @@
# changes in each release.
home.stateVersion = version;
xdg = {
desktopEntries.youtube = {
name = "YouTube";
exec = "chromium --app=https://www.youtube.com";
terminal = false;
type = "Application";
icon = "applications-multimedia";
categories = [ "AudioVideo" "Player" "Network" ];
xdg = {
desktopEntries.youtube = {
name = "YouTube";
exec = "chromium --app=https://www.youtube.com";
terminal = false;
type = "Application";
icon = "applications-multimedia";
categories = [ "AudioVideo" "Player" "Network" ];
};
desktopEntries."org.kde.konsole" = {
name = "Konsole";
noDisplay = true;
};
desktopEntries."org.kde.kinfocenter" = {
name = "Info Center";
noDisplay = true;
};
desktopEntries."org.kde.khelpcenter" = {
name = "Help Center";
noDisplay = true;
};
desktopEntries."org.kde.kmenuedit" = {
name = "Menu Editor";
noDisplay = true;
};
desktopEntries."micro" = {
name = "Micro";
noDisplay = true;
};
desktopEntries."nvim" = {
name = "Neovim";
noDisplay = true;
};
desktopEntries."btop" = {
name = "btop++";
noDisplay = true;
};
desktopEntries."chromium-desktop" = {
name = "Chromium";
noDisplay = true;
};
desktopEntries."nixos-manual" = {
name = "NixOS Manual";
noDisplay = true;
};
desktopEntries."org.freedesktop.IBus.Setup" = {
name = "IBus Preferences";
noDisplay = true;
};
desktopEntries."org.kde.drkonqi" = {
name = "Crashed Processes Viewer";
noDisplay = true;
};
desktopEntries."com.cloudflare.WarpTaskbar" = {
name = "Cloudflare Zero Trust";
noDisplay = true;
};
desktopEntries."org.kde.kwrite" = {
name = "KWrite";
noDisplay = true;
};
desktopEntries."org.kde.discover" = {
name = "Discover";
noDisplay = true;
};
};
};
# Let Home Manager install and manage itself.
programs = {
@ -43,7 +113,9 @@ xdg = {
kitty = {
enable = true;
settings = {
background_opacity = "0.7"; #The higher the value, the darker the console
background_opacity = "0.2"; #The higher the value, the darker the console
background_blur = 10;
};
};

View File

@ -31,6 +31,7 @@
multipath-tools
docker
docker-compose
plymouth
#Programming
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
@ -68,7 +69,9 @@
chromium #For Youtube app to work
kdePackages.bluez-qt
#latte-dock
moonlight-qt
kitty
tdrop
#CLI tools
yt-dlp
@ -87,22 +90,21 @@
"dotnet-runtime-6.0.36"
];
services.flatpak = {
enable = true;
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
{
appId = "org.vinegarhq.Sober";
origin = "flathub";
commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
}
];
};
services.flatpak = {
enable = true;
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
{
appId = "org.vinegarhq.Sober";
origin = "flathub";
commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
}
];
};
}

View File

@ -53,6 +53,7 @@ in
];
environment.systemPackages = with pkgs; [
kdePackages.plymouth-kcm
# (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
# [General]
# background = "${background-package}"

View File

@ -3,7 +3,7 @@ FLAG_FILE="/home/cookiez/.flags/theme-flag"
/run/current-system/sw/bin/konsave -i /etc/nixos/plasma/NixOS-1.0.0.knsv
/run/current-system/sw/bin/konsave -i /etc/nixos/plasma/NixOS-1.0.0.knsv
/run/current-system/sw/bin/konsave -a theme
/run/current-system/sw/bin/konsave -a NixOS-1.0.0
progress_bar() {
local duration=$1