aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/system/boot.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-06 07:04:03 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-06 07:04:03 -0700
commit679497cf607e59cb4c62d80174228e776369751f (patch)
tree21e0f1e9436f1aabfe146d9aaec0dd36fbb06dd5 /hosts/common/system/boot.nix
parentrefactor configuration for AMD (diff)
downloadinfra-679497cf607e59cb4c62d80174228e776369751f.tar.gz
refactor boot configuration to a module
We don't need the previous `hosts/common/system` configs anymore, as everything has been moved out. We keep some boot configuration for carmel in the host configuration for now, but I need to check why I don't have similar settings for tahoe (since I also need to unlock the host remotely).
Diffstat (limited to '')
-rw-r--r--hosts/common/system/boot.nix16
1 files changed, 0 insertions, 16 deletions
diff --git a/hosts/common/system/boot.nix b/hosts/common/system/boot.nix
deleted file mode 100644
index 75433eb..0000000
--- a/hosts/common/system/boot.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{ pkgs, config, lib, ... }:
-
-{
- boot = {
- loader = {
- # Use the systemd-boot EFI boot loader.
- systemd-boot.enable = true;
- # Prohibits gaining root access by passing init=/bin/sh as a kernel parameter
- systemd-boot.editor = false;
- efi.canTouchEfiVariables = true;
- };
-
- kernelPackages = pkgs.linuxPackages_latest;
- tmpOnTmpfs = true;
- };
-}