···182182 </para>
183183 </listitem>
184184 </itemizedlist>
185185+ <itemizedlist spacing="compact">
186186+ <listitem>
187187+ <para>
188188+ <link xlink:href="https://docs.fluidd.xyz/">fluidd</link>, a
189189+ Klipper web interface for managing 3d printers using
190190+ moonraker. Available as
191191+ <link linkend="opt-services.fluidd.enable">fluidd</link>.
192192+ </para>
193193+ </listitem>
194194+ </itemizedlist>
185195 </section>
186196 <section xml:id="sec-release-21.11-incompatibilities">
187197 <title>Backward Incompatibilities</title>
···273283 <listitem>
274284 <para>
275285 The <literal>staticjinja</literal> package has been upgraded
276276- from 1.0.4 to 3.0.1
286286+ from 1.0.4 to 4.1.0
277287 </para>
278288 </listitem>
279289 <listitem>
+3-1
nixos/doc/manual/release-notes/rl-2111.section.md
···5656* [navidrome](https://www.navidrome.org/), a personal music streaming server with
5757subsonic-compatible api. Available as [navidrome](#opt-services.navidrome.enable).
58585959+- [fluidd](https://docs.fluidd.xyz/), a Klipper web interface for managing 3d printers using moonraker. Available as [fluidd](#opt-services.fluidd.enable).
6060+5961## Backward Incompatibilities {#sec-release-21.11-incompatibilities}
60626163- The `paperless` module and package have been removed. All users should migrate to the
···105107 Superuser created successfully.
106108 ```
107109108108-- The `staticjinja` package has been upgraded from 1.0.4 to 3.0.1
110110+- The `staticjinja` package has been upgraded from 1.0.4 to 4.1.0
109111110112- The `erigon` ethereum node has moved to a new database format in `2021-05-04`, and requires a full resync
111113
···1818in
19192020{
2121- imports = [ ../profiles/headless.nix ./ec2-data.nix ./amazon-init.nix ];
2121+ imports = [
2222+ ../profiles/headless.nix
2323+ # Note: While we do use the headless profile, we also explicitly
2424+ # turn on the serial console on ttyS0 below. This is because
2525+ # AWS does support accessing the serial console:
2626+ # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html
2727+ ./ec2-data.nix
2828+ ./amazon-init.nix
2929+ ];
22302331 config = {
2432···4957 ];
5058 boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
5159 boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
5252- boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" "random.trust_cpu=on" ];
6060+ boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0,115200n8" "random.trust_cpu=on" ];
53615462 # Prevent the nouveau kernel module from being loaded, as it
5563 # interferes with the nvidia/nvidia-uvm modules needed for CUDA.
···6371 boot.loader.grub.extraPerEntryConfig = mkIf (!cfg.hvm) "root (hd0)";
6472 boot.loader.grub.efiSupport = cfg.efi;
6573 boot.loader.grub.efiInstallAsRemovable = cfg.efi;
6666- boot.loader.timeout = 0;
7474+ boot.loader.timeout = 1;
7575+ boot.loader.grub.extraConfig = ''
7676+ serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
7777+ terminal_output console serial
7878+ terminal_input console serial
7979+ '';
67806881 boot.initrd.network.enable = true;
6982···127140 copy_bin_and_libs ${pkgs.util-linux}/sbin/swapon
128141 '';
129142130130- # Don't put old configurations in the GRUB menu. The user has no
131131- # way to select them anyway.
132132- boot.loader.grub.configurationLimit = 0;
133133-134143 # Allow root logins only using the SSH key that the user specified
135144 # at instance creation time.
136145 services.openssh.enable = true;
137146 services.openssh.permitRootLogin = "prohibit-password";
147147+148148+ # Enable the serial console on ttyS0
149149+ systemd.services."serial-getty@ttyS0".enable = true;
138150139151 # Creates symlinks for block device names.
140152 services.udev.packages = [ pkgs.ec2-utils ];
···1414 sha256 = "1wdlblj127skgynf9amk7waabc3abbyxys9dvyc6c72zpcpdy5nc";
1515 };
16161717- preBuild = ''
1818- # TODO: is there a way to get the commit ref so we can set main.buildCommit?
1919- buildFlagsArray+=("-ldflags" "-X main.buildDate=1970-01-01T00:00:00+0000 -X main.buildVersion=${version}")
2020-'';
1717+ # TODO: is there a way to get the commit ref so we can set main.buildCommit?
1818+ ldflags = [
1919+ "-X main.buildDate=1970-01-01T00:00:00+0000" "-X main.buildVersion=${version}"
2020+ ];
21212222 meta = {
2323 description = "A go rewrite of envdir";