summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-01-13 10:34:34 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2024-01-13 10:34:34 -0700
commitecddd3d06c1a18ad388666c24c2374cd508b8a20 (patch)
treeac627361c5defa32365d3de4a2e6252d52caf1c6 /machines
parent085b4c42e6dfca8e12ebfa68a421b91feec34986 (diff)
format boot field like zenbook, use latest kernel
Diffstat (limited to 'machines')
-rw-r--r--machines/khad/configuration.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/machines/khad/configuration.nix b/machines/khad/configuration.nix
index 3f46f5f..1f9c187 100644
--- a/machines/khad/configuration.nix
+++ b/machines/khad/configuration.nix
@@ -10,9 +10,14 @@
./hardware-configuration.nix
];
- # Bootloader.
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
+ # Use the systemd-boot EFI boot loader.
+ boot = {
+ loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+ kernelPackages = pkgs.linuxPackages_latest; # use latest kernel
+ };
networking.hostName = "khad"; # Define your hostname.
# Pick only one of the below networking options.