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
|
||||
|
||||
78
home.nix
78
home.nix
@ -24,7 +24,7 @@
|
||||
# changes in each release.
|
||||
home.stateVersion = version;
|
||||
|
||||
xdg = {
|
||||
xdg = {
|
||||
desktopEntries.youtube = {
|
||||
name = "YouTube";
|
||||
exec = "chromium --app=https://www.youtube.com";
|
||||
@ -33,7 +33,77 @@ 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.
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -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,7 +90,7 @@
|
||||
"dotnet-runtime-6.0.36"
|
||||
];
|
||||
|
||||
services.flatpak = {
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
|
||||
remotes = [
|
||||
@ -103,6 +106,5 @@ services.flatpak = {
|
||||
commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@ -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