From 0a5e91f94b405e82236400eeac153bf51b8b178a Mon Sep 17 00:00:00 2001 From: Johannes Hendrik Gerard van der Weide Date: Wed, 6 Mar 2024 10:49:17 +0100 Subject: [PATCH] oh yeah it should be bootable whoops --- system/nixos.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/system/nixos.nix b/system/nixos.nix index 11d5f84..e12a9db 100644 --- a/system/nixos.nix +++ b/system/nixos.nix @@ -1,4 +1,27 @@ { + boot = { + loader = { + efi.canTouchEfiVariables = true; + systemd-boot = { + enable = true; + editor = false; + }; + }; + }; + + nix = { + settings = { + # Enable flakes and new 'nix' command + experimental-features = "nix-command flakes"; + # Deduplicate and optimize nix store + auto-optimise-store = true; + }; + }; + + nixpkgs.config = { + allowUnfree = true; + }; + networking = { hostName = "HermitCollective"; domain = "hermitcollective.net";