about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 14:28:44 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 15:26:36 +0200
commitbd78157485e5e3e809ab7de55f0bddf97e524336 (patch)
tree12b196e8661d4ca04ff53baa7cb6e5675bee798a /hosts/configuration.nix
parentAdd host-specific dwmbar config (diff)
downloadnixos-config-bd78157485e5e3e809ab7de55f0bddf97e524336.tar.gz
nixos-config-bd78157485e5e3e809ab7de55f0bddf97e524336.tar.bz2
nixos-config-bd78157485e5e3e809ab7de55f0bddf97e524336.zip
Switch to systemd-boot + btrfs
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r--hosts/configuration.nix15
1 files changed, 8 insertions, 7 deletions
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