summaryrefslogtreecommitdiff
path: root/modules/nixos/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/boot.nix')
-rw-r--r--modules/nixos/boot.nix17
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/nixos/boot.nix b/modules/nixos/boot.nix
deleted file mode 100644
index b3f36aa..0000000
--- a/modules/nixos/boot.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{ config, lib, ... }:
-
-let cfg = config.personal.boot;
-in {
- options.personal.boot = { grub.enable = lib.mkEnableOption "grub"; };
-
- config.boot.loader = lib.mkIf cfg.grub.enable {
- efi = { canTouchEfiVariables = true; };
- grub = {
- enable = true;
- version = 2;
- efiSupport = true;
- enableCryptodisk = config.boot.initrd.luks.devices != { };
- device = "nodev";
- };
- };
-}