diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:12:43 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:12:43 -0700 |
commit | 95a60649590ce16c649e40a6263eefd0903a3ea7 (patch) | |
tree | 668b07208b1fbaf7a41446d297817a0f834721cb /profiles | |
parent | profiles: move things around for btrfs (diff) | |
download | world-95a60649590ce16c649e40a6263eefd0903a3ea7.tar.gz |
profiles/default: move stuff related to boot
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/profiles/default.nix b/profiles/default.nix index 31e044a..4575b13 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1,5 +1,21 @@ { 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; + cleanTmpDir = true; + tmpOnTmpfs = true; + }; + # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; |