diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-02-05 03:38:52 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-02-05 03:38:52 -0800 |
commit | 56faa5e9caf4408c2c4d6df50287c3b1c9e6c1b4 (patch) | |
tree | 188362e97ecfd0f935b1ac1efc1c3cfb00ef616e /nix/modules/default.nix | |
parent | 990134fdcefe5a520b09ac6dfcaf97066fde6685 (diff) |
Finish automation of spontaneity cloud deployments
Diffstat (limited to 'nix/modules/default.nix')
-rw-r--r-- | nix/modules/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix index f520d3b..50e5a1b 100644 --- a/nix/modules/default.nix +++ b/nix/modules/default.nix @@ -16,6 +16,7 @@ home.enable = lib.mkEnableOption "Enables home user"; server.enable = lib.mkEnableOption "Enables server services"; ttyonly.enable = lib.mkEnableOption "TTY only, no xserver"; + grub.enable = lib.mkEnableOption "Enables grub instead of systemd-boot"; }; }; }; @@ -26,6 +27,9 @@ man-pages man-pages-posix ]); + boot.loader.grub = lib.mkIf config.monorepo.profiles.grub.enable { + enable = true; + }; monorepo = { profiles = { |