{ pkgs, config, ... }: { boot.uki.name = "patos"; boot.kernelParams = [ "console=ttyS0" ]; system.nixos.release = "2024-09"; system.nixos.codeName = "Finn"; system.nixos.distroId = "patos"; system.nixos.distroName = "PatOS"; system.image.version = "0.0.1"; # FIXME: Use epoch version. # Make the current system version visible in the prompt. programs.bash.promptInit = '' export PS1="\u@\h (version ${config.system.image.version}) $ " ''; # Not compatible with system.etc.overlay.enable yet. # users.mutableUsers = false; services.getty.autologinUser = "root"; boot.initrd.systemd.enable = true; # Don't accumulate crap. boot.tmp.cleanOnBoot = true; services.journald.extraConfig = '' SystemMaxUse=10M ''; # Debugging environment.systemPackages = with pkgs; [ parted (runCommand "systemd-sysupdate" { } '' mkdir -p $out/bin ln -s ${config.systemd.package}/lib/systemd/systemd-sysupdate $out/bin '') ]; system.stateVersion = "24.11"; }