aboutsummaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default.nix16
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";