host_001_momo_koeln: fix swap UUID and initrd boot modules #223

Merged
teutat3s merged 2 commits from momo/fix-swap-uuid into momo/main 2023-04-24 16:02:31 +00:00
Showing only changes of commit 2692b2dc20 - Show all commits

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{ {
config,
pkgs,
lib,
...
}: {
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
boot.loader.systemd-boot.enable = false; boot.loader.systemd-boot.enable = false;
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
@ -20,18 +23,18 @@
device = "/dev/disk/by-uuid/531ee357-5777-498f-abbf-64bb4cff9a14"; device = "/dev/disk/by-uuid/531ee357-5777-498f-abbf-64bb4cff9a14";
}; };
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/f5b3152a-a3bd-46d1-968f-53d50fca921e"; device = "/dev/disk/by-uuid/f5b3152a-a3bd-46d1-968f-53d50fca921e";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/1fd053f8-725b-418d-aed1-aee71dac2b62"; device = "/dev/disk/by-uuid/1fd053f8-725b-418d-aed1-aee71dac2b62";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/46191ecf-244c-4445-b1c0-ae3059871a70"; } {device = "/dev/disk/by-uuid/967d1933-131d-4b56-8aa9-15c11ff940c9";}
]; ];
networking = { networking = {