From 21ce62aa006ecb9d5a55d94de003e4a6baab2362 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 2 Mar 2024 18:18:44 +0800 Subject: [PATCH] hosts/graphical-installer: update config --- configs/nixos/graphical-installer/default.nix | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/configs/nixos/graphical-installer/default.nix b/configs/nixos/graphical-installer/default.nix index c298c50d..51780ca9 100644 --- a/configs/nixos/graphical-installer/default.nix +++ b/configs/nixos/graphical-installer/default.nix @@ -1,19 +1,35 @@ -{ lib, config, pkgs, foodogsquaredLib, foodogsquaredModulesPath, ... }: +{ lib +, config +, pkgs +, foodogsquaredLib +, foodogsquaredUtils +, foodogsquaredModulesPath + +, ... }: # Since this will be exported as an installer ISO, you'll have to keep in mind # about the added imports from nixos-generators. In this case, it simply adds # the NixOS installation CD profile. { imports = [ - "${foodogsquaredModulesPath}/profiles/installer" + "${foodogsquaredModulesPath}/profiles/installer.nix" - (foodogsquaredLib.mapHomeManager "nixos" { }) + (foodogsquaredUtils.mapHomeManagerUser "nixos" { }) ]; config = lib.mkMerge [ { + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot = { + enable = true; + netbootxyz.enable = true; + }; + boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages_6_6; + # We'll make NetworkManager manage all of them networks. + networking.wireless.enable = false; + # Use my desktop environment configuration without the apps just to make the # closure size smaller. workflows.workflows.a-happy-gnome = {