From 8680b33910a34826bfb3b8cc9bbc11b8c50b0ac2 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Mon, 12 Feb 2024 13:45:02 -0700 Subject: [PATCH] Add Plymouth for a password prompt with graphics --- configuration.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 686f6cb..e2c81e9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = ''