diff --git a/nixos/msi/boot.nix b/nixos/msi/boot.nix new file mode 100644 index 0000000..cd2c0a6 --- /dev/null +++ b/nixos/msi/boot.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: +{ + boot = { + kernelPackages = pkgs.linuxPackages_latest; + + initrd = { + verbose = false; + systemd.enable = true; + }; + + # Enable silent boot + consoleLogLevel = 3; + kernelParams = [ + "quiet" + "splash" + "systemd.show_status=auto" # suppress successful messages + "rd.udev.log_level=3" # stop systemd from printing its version + ]; + + plymouth.enable = true; + }; +} diff --git a/nixos/msi/configuration.nix b/nixos/msi/configuration.nix index 693aea1..d93a2ba 100644 --- a/nixos/msi/configuration.nix +++ b/nixos/msi/configuration.nix @@ -33,6 +33,7 @@ in [ # Include the results of the hardware scan. ./hardware-configuration.nix ./nvidia.nix + ./boot.nix ./home.nix ]; @@ -83,22 +84,13 @@ in (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; - console = { - font = "Lat2-Terminus16"; - # keyMap = "us"; - # useXkbConfig = true; # use xkb.options in tty. - }; - services = { xserver.enable = true; desktopManager.plasma6.enable = true; displayManager.sddm.enable = true; + displayManager.sddm.wayland.enable = true; }; - # Configure keymap in X11 - # services.xserver.xkb.layout = "us"; - # services.xserver.xkb.options = "eurosign:e,caps:escape"; - # Enable CUPS to print documents. # services.printing.enable = true;