From 5e3a9d79cb651c9affac09ef124c41d613c2e1ae Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 25 Jun 2022 14:28:44 +0200 Subject: Switch to systemd-boot + btrfs --- hosts/configuration.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'hosts/configuration.nix') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 4c6bc89..a725990 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -8,16 +8,16 @@ ../modules/virtualisation ]; - # Use the GRUB 2 boot loader. + # Use the systemd-boot boot loader. boot.loader = { - grub = { + systemd-boot = { enable = true; - version = 2; - splashImage = null; - # efiSupport = true; - # efiInstallAsRemovable = true; + editor = false; + }; + efi = { + efiSysMountPoint = "/boot"; + canTouchEfiVariables = true; }; - # efi.efiSysMountPoint = "/boot/efi"; timeout = 0; }; @@ -87,6 +87,7 @@ gnupg neovim steam-run + compsize #used to check btrfs space savings ]; # Some programs need SUID wrappers, can be configured further or are -- cgit 1.4.1