From 182a87b0b93f8209310f69ef7e733ec4d1692615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 13 Sep 2023 15:18:25 +0300 Subject: [PATCH] another fix for swap devices --- hosts/fwminex/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index a22636b..47c0de6 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -18,12 +18,13 @@ bootPool = "-part2"; rootPool = "-part4"; }; - swapDevices = ["/dev/zvol/rpool/swap"]; }; }; boot.binfmt.emulatedSystems = ["aarch64-linux"]; + swapDevices = [{device = "/dev/zvol/rpool/swap";}]; + boot.loader.grub.extraEntries = '' menuentry "Debian via bpool label" { search --set=bpool --label bpool