Plymouth Bootscreen aktiviert

This commit is contained in:
2026-06-12 09:45:16 +02:00
parent 802a20ee75
commit 27d757d81d
+264 -242
View File
@@ -1,242 +1,264 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on # your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./modules/desktop/gnome.nix ./modules/desktop/gnome.nix
# ./modules/desktop/kde.nix # ./modules/desktop/kde.nix
# ./modules/desktop/hyprland.nix # ./modules/desktop/hyprland.nix
# ./modules/desktop/niri.nix # ./modules/desktop/niri.nix
]; ];
# Use the systemd-boot EFI boot loader. boot = {
boot.loader.systemd-boot.enable = true; # Enable Plymouth boot splash
boot.loader.efi.canTouchEfiVariables = true; plymouth = {
boot.initrd.enable = true; enable = true;
# Optional: Choose a theme. "breeze" is standard, or use "spinner", "fade-in", etc.
# LUKS Partition theme = "breeze";
boot.initrd.luks.devices = { };
dukebook0 = {
device = "/dev/disk/by-uuid/5533dddd-216c-453b-aad5-657d8e889f4c"; # Enable Plymouth in initrd for a graphical LUKS password prompt
preLVM = true; initrd.systemd.enable = true;
};
}; # Optional: Suppress kernel messages to make the boot look cleaner
kernelParams = [
# # LVM Volume Mounts "quiet"
# fileSystems."/home/martin/Nextcloud" = { "splash"
# device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a"; "boot.shell_on_fail"
# fsType = "ext4"; "loglevel=3"
# }; "rd.systemd.show_status=false"
"rd.udev.log_level=3"
networking.hostName = "dukebook"; # Define your hostname. "udev.log_priority=3"
# Pick only one of the below networking options. ];
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. };
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Use the systemd-boot EFI boot loader.
#networking.wireless.iwd.enable = true; boot.loader.systemd-boot.enable = true;
# Set your time zone. boot.loader.efi.canTouchEfiVariables = true;
time.timeZone = "Europe/Berlin"; boot.initrd.enable = true;
# xdg.portal = { # LUKS Partition
# enable = true; boot.initrd.luks.devices = {
# extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ]; dukebook0 = {
# config.common.default = [ "kde" "gtk" ]; device = "/dev/disk/by-uuid/5533dddd-216c-453b-aad5-657d8e889f4c";
# }; preLVM = true;
programs.dconf.enable = true; };
# Configure network proxy if necessary };
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # # LVM Volume Mounts
# fileSystems."/home/martin/Nextcloud" = {
# Select internationalisation properties. # device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
i18n.defaultLocale = "de_DE.UTF-8"; # fsType = "ext4";
console = { # };
font = "Lat2-Terminus16";
keyMap = "de"; networking.hostName = "dukebook"; # Define your hostname.
# useXkbConfig = true; # use xkb.options in tty. # Pick only one of the below networking options.
}; networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Enable Gnome3 Keyring #networking.wireless.iwd.enable = true;
#services.gnome.gnome-keyring.enable = true; # Set your time zone.
time.timeZone = "Europe/Berlin";
# Enable CUPS to print documents.2
services.printing.enable = true; # xdg.portal = {
services.avahi = { # enable = true;
enable = true; # extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
nssmdns4 = true; # config.common.default = [ "kde" "gtk" ];
openFirewall = true; # };
}; programs.dconf.enable = true;
# Configure network proxy if necessary
# Enable sound. # networking.proxy.default = "http://user:password@proxy:port/";
# sound.enable = true; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
services.pulseaudio.enable = false;
# Select internationalisation properties.
services.pipewire = { i18n.defaultLocale = "de_DE.UTF-8";
enable = true; console = {
alsa.enable = true; font = "Lat2-Terminus16";
pulse.enable = true; keyMap = "de";
}; # useXkbConfig = true; # use xkb.options in tty.
};
# Bluetooth Support
hardware.bluetooth.enable = true; # Enable Gnome3 Keyring
hardware.bluetooth.powerOnBoot = true; #services.gnome.gnome-keyring.enable = true;
services.blueman.enable = true;
# Enable CUPS to print documents.2
# Enable touchpad support (enabled default in most desktopManager). services.printing.enable = true;
# services.xserver.libinput.enable = true; services.avahi = {
enable = true;
users.groups.martin.gid = 1001; nssmdns4 = true;
openFirewall = true;
# Define a user account. Don't forget to set a password with passwd. };
users.users.martin = {
isNormalUser = true; # Enable sound.
group = "martin"; # sound.enable = true;
extraGroups = [ "libvirtd" "networkmanager" "wheel" ]; # Enable sudo for the user. services.pulseaudio.enable = false;
uid = 1001;
packages = with pkgs; []; services.pipewire = {
}; enable = true;
alsa.enable = true;
# users.extraUsers.martin = { pulse.enable = true;
# openssh.authorizedKeys.keys = [ };
# "
# Bluetooth Support
# Flatpaks hardware.bluetooth.enable = true;
services.flatpak.enable = true; hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget # Enable touchpad support (enabled default in most desktopManager).
environment.systemPackages = with pkgs; [ # services.xserver.libinput.enable = true;
firefox
tree users.groups.martin.gid = 1001;
nextcloud-client
keepassxc # Define a user account. Don't forget to set a password with passwd.
fastfetch users.users.martin = {
wget isNormalUser = true;
git group = "martin";
kitty extraGroups = [ "libvirtd" "networkmanager" "wheel" ]; # Enable sudo for the user.
font-awesome uid = 1001;
symbola packages = with pkgs; [];
noto-fonts-color-emoji };
material-icons
system-config-printer # users.extraUsers.martin = {
ubuntu-classic # openssh.authorizedKeys.keys = [
cascadia-code # "
virt-manager
starship # Flatpaks
pfetch services.flatpak.enable = true;
neovim
gnome-software # List packages installed in system profile. To search, run:
xwayland-satellite # $ nix search wget
parted environment.systemPackages = with pkgs; [
vscodium firefox
libreoffice-fresh tree
hunspell nextcloud-client
signal-desktop keepassxc
]; fastfetch
wget
programs.niri.enable = true; git
kitty
programs.neovim = { font-awesome
enable = true; symbola
configure = { noto-fonts-color-emoji
customRC = '' material-icons
set number system-config-printer
set cc=80 ubuntu-classic
set list cascadia-code
set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:» virt-manager
if &diff starship
colorscheme blue pfetch
endif neovim
''; gnome-software
packages.myVimPackage = with pkgs.vimPlugins; { xwayland-satellite
start = [ ctrlp-vim ]; parted
}; vscodium
}; libreoffice-fresh
}; hunspell
programs.neovim = { signal-desktop
defaultEditor = true; ];
viAlias = true;
vimAlias = true; programs.niri.enable = true;
};
programs.neovim = {
# Virtualisation enable = true;
virtualisation.libvirtd.enable = true; configure = {
programs.virt-manager.enable = true; customRC = ''
set number
#fonts.packages = with pkgs; [ set cc=80
# (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) set list
#]; set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:»
if &diff
nix = { colorscheme blue
settings.auto-optimise-store = true; endif
gc = { '';
automatic = true; packages.myVimPackage = with pkgs.vimPlugins; {
dates = "weekly"; start = [ ctrlp-vim ];
options = "--delete-older-than 7d"; };
}; };
}; };
programs.neovim = {
nix.settings.experimental-features = [ defaultEditor = true;
"nix-command" "flakes" viAlias = true;
]; vimAlias = true;
# Automatic Updates };
#system.autoUpgrade = {
# enable = true; # Virtualisation
# channel = "https://nixos.org/channels/nixos-24.11"; virtualisation.libvirtd.enable = true;
#}; programs.virt-manager.enable = true;
nixpkgs.config.allowUnfree = true; #fonts.packages = with pkgs; [
# Some programs need SUID wrappers, can be configured further or are # (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
# started in user sessions. #];
# programs.mtr.enable = true;
# programs.gnupg.agent = { nix = {
# enable = true; settings.auto-optimise-store = true;
# enableSSHSupport = true; gc = {
# }; automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
# nix.nixPath = [ "nixpkgs=/home/martin/Nextcloud/IT/mydotfiles/nixos" ]; };
};
# Enable Gnome dash-to-dock
nixpkgs.config.firefox.enableGnomeExtensions = true; nix.settings.experimental-features = [
# services.gnome.chrome-gnome-shell.enable = true; "nix-command" "flakes"
services.gnome.gnome-browser-connector.enable = true; ];
# List services that you want to enable: # Automatic Updates
#system.autoUpgrade = {
# Enable the OpenSSH daemon. # enable = true;
# services.openssh.enable = true; # channel = "https://nixos.org/channels/nixos-24.11";
#};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; nixpkgs.config.allowUnfree = true;
# networking.firewall.allowedUDPPorts = [ ... ]; # Some programs need SUID wrappers, can be configured further or are
# Or disable the firewall altogether. # started in user sessions.
# networking.firewall.enable = false; # programs.mtr.enable = true;
# programs.gnupg.agent = {
# Copy the NixOS configuration file and link it from the resulting system # enable = true;
# (/run/current-system/configuration.nix). This is useful in case you # enableSSHSupport = true;
# accidentally delete configuration.nix. # };
# system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine, # nix.nixPath = [ "nixpkgs=/home/martin/Nextcloud/IT/mydotfiles/nixos" ];
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# # Enable Gnome dash-to-dock
# Most users should NEVER change this value after the initial install, for any reason, nixpkgs.config.firefox.enableGnomeExtensions = true;
# even if you've upgraded your system to a new NixOS release. # services.gnome.chrome-gnome-shell.enable = true;
# services.gnome.gnome-browser-connector.enable = true;
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from, # List services that you want to enable:
# so changing it will NOT upgrade your system.
# # Enable the OpenSSH daemon.
# This value being lower than the current NixOS release does NOT mean your system is # services.openssh.enable = true;
# out of date, out of support, or vulnerable.
# # Open ports in the firewall.
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # networking.firewall.allowedTCPPorts = [ ... ];
# and migrated your data accordingly. # networking.firewall.allowedUDPPorts = [ ... ];
# # Or disable the firewall altogether.
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . # networking.firewall.enable = false;
system.stateVersion = "25.11"; # Did you read the comment?
# Copy the NixOS configuration file and link it from the resulting system
} # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
# system.copySystemConfiguration = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
#
# Most users should NEVER change this value after the initial install, for any reason,
# even if you've upgraded your system to a new NixOS release.
#
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
# so changing it will NOT upgrade your system.
#
# This value being lower than the current NixOS release does NOT mean your system is
# out of date, out of support, or vulnerable.
#
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
#
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "25.11"; # Did you read the comment?
}