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 = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./boot-splash.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|||||||
92
home.nix
92
home.nix
@ -24,16 +24,86 @@
|
|||||||
# changes in each release.
|
# changes in each release.
|
||||||
home.stateVersion = version;
|
home.stateVersion = version;
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
desktopEntries.youtube = {
|
desktopEntries.youtube = {
|
||||||
name = "YouTube";
|
name = "YouTube";
|
||||||
exec = "chromium --app=https://www.youtube.com";
|
exec = "chromium --app=https://www.youtube.com";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
type = "Application";
|
type = "Application";
|
||||||
icon = "applications-multimedia";
|
icon = "applications-multimedia";
|
||||||
categories = [ "AudioVideo" "Player" "Network" ];
|
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.
|
# Let Home Manager install and manage itself.
|
||||||
programs = {
|
programs = {
|
||||||
@ -43,7 +113,9 @@ xdg = {
|
|||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
36
packages.nix
36
packages.nix
@ -31,6 +31,7 @@
|
|||||||
multipath-tools
|
multipath-tools
|
||||||
docker
|
docker
|
||||||
docker-compose
|
docker-compose
|
||||||
|
plymouth
|
||||||
|
|
||||||
#Programming
|
#Programming
|
||||||
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
|
#jetbrains.pycharm-community #The PyCharm IDE to edit Python code
|
||||||
@ -68,7 +69,9 @@
|
|||||||
chromium #For Youtube app to work
|
chromium #For Youtube app to work
|
||||||
kdePackages.bluez-qt
|
kdePackages.bluez-qt
|
||||||
#latte-dock
|
#latte-dock
|
||||||
|
moonlight-qt
|
||||||
kitty
|
kitty
|
||||||
|
tdrop
|
||||||
|
|
||||||
#CLI tools
|
#CLI tools
|
||||||
yt-dlp
|
yt-dlp
|
||||||
@ -87,22 +90,21 @@
|
|||||||
"dotnet-runtime-6.0.36"
|
"dotnet-runtime-6.0.36"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak = {
|
services.flatpak = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
remotes = [
|
|
||||||
{
|
|
||||||
name = "flathub";
|
|
||||||
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
packages = [
|
|
||||||
{
|
|
||||||
appId = "org.vinegarhq.Sober";
|
|
||||||
origin = "flathub";
|
|
||||||
commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
remotes = [
|
||||||
|
{
|
||||||
|
name = "flathub";
|
||||||
|
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
packages = [
|
||||||
|
{
|
||||||
|
appId = "org.vinegarhq.Sober";
|
||||||
|
origin = "flathub";
|
||||||
|
commit = "e28fd81675b0871614ccdc8fc66c6da6761dd11333a65900a0451edf07ef0ea6";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,6 +53,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
kdePackages.plymouth-kcm
|
||||||
# (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
# (pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
||||||
# [General]
|
# [General]
|
||||||
# background = "${background-package}"
|
# 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 -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() {
|
progress_bar() {
|
||||||
local duration=$1
|
local duration=$1
|
||||||
|
|||||||
Reference in New Issue
Block a user