summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-05-12 17:21:28 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-05-12 17:21:28 -0500
commitccb304fb5c435f18503b59c1e95b2918e486b955 (patch)
tree0ad498ea62b70804b4dd8eed1257dc944593b1e7 /hosts
parent4ea08b3976188eb01a74548d68b227a7794b4caa (diff)
downloadnixos-config-ccb304fb5c435f18503b59c1e95b2918e486b955.tar.gz
nixos-config-ccb304fb5c435f18503b59c1e95b2918e486b955.zip
hosts/ades/styx: Add GRUB device config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/ades/styx.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/ades/styx.nix b/hosts/ades/styx.nix
index ba35edd..ab00833 100644
--- a/hosts/ades/styx.nix
+++ b/hosts/ades/styx.nix
@@ -3,6 +3,11 @@
let swapPart = "/dev/sda2";
in
{
+ boot.loader.grub = {
+ enable = true;
+ devices = ["/dev/sda"];
+ };
+
boot.resumeDevice = swapPart;
fileSystems."/" = lib.mkForce {