Removed a lot of desktop entries, to clean up Menu. Added a boot splash screen.
This commit is contained in:
23
boot-splash.nix
Normal file
23
boot-splash.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
@ -41,6 +41,7 @@
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./firefox.nix
|
||||
./boot-splash.nix
|
||||
./zsh.nix
|
||||
./neovim.nix
|
||||
./packages.nix
|
||||
|
||||
74
home.nix
74
home.nix
@ -33,6 +33,76 @@ xdg = {
|
||||
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.
|
||||
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -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
|
||||
@ -104,5 +107,4 @@ services.flatpak = {
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@ -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}"
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user