about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-15 09:44:31 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-15 09:44:31 +0200
commit60b71df42f209279700cf39ae3601c0fff891cd9 (patch)
tree042149fca775928379bba66152796e302c7d8d46
parentbuild(treewide): Update (diff)
downloadnixos-config-60b71df42f209279700cf39ae3601c0fff891cd9.tar.gz
nixos-config-60b71df42f209279700cf39ae3601c0fff891cd9.zip
feat(system/boot): Always select last used boot entry
-rw-r--r--modules/system/boot/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/boot/default.nix b/modules/system/boot/default.nix
index 1e6fa99b..711e9d23 100644
--- a/modules/system/boot/default.nix
+++ b/modules/system/boot/default.nix
@@ -81,6 +81,7 @@ in {
           settings = {
             # Disable editing the kernel command line (which could allow someone to become root)
             editor = false;
+            default = "@saved";
           };
         };