Add Plymouth for a password prompt with graphics

This commit is contained in:
Aaron Honeycutt 2024-02-12 13:45:02 -07:00
parent 40d89ce488
commit 8680b33910

View file

@ -3,7 +3,8 @@
{
imports =
[
# ./hardware-configuration.nix
# ./hardware-configuration.nix
./swingmusic/swingmusic.nix
];
# Latest kernel
@ -15,6 +16,10 @@
systemd-boot.configurationLimit = 10;
};
boot.plymouth.enable = true;
boot.initrd.systemd.enable = true;
boot.kernelParams = [ "quiet" ];
#nix.settings.auto-optimise-store = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@ -65,7 +70,14 @@
unzip
wget
xz
zlib
];
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
# Enable/Disable hardware
## Turn off PulseAudio
@ -105,6 +117,8 @@
hardware.sane.extraBackends = [ pkgs.sane-airscan ];
services.ipp-usb.enable = true;
services.hardware.bolt.enable = true;
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''