hosts/graphical-installer: add nixos HM user and a web browser

This commit is contained in:
Gabriel Arazas 2024-02-28 21:18:12 +08:00
parent a0c73c3901
commit fb634531e4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -1,9 +1,15 @@
{ lib, config, pkgs, foodogsquaredLib, ... }:
{ lib, config, pkgs, foodogsquaredLib, 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"
(foodogsquaredLib.mapHomeManager "nixos" { })
];
config = lib.mkMerge [
{
boot.kernelPackages = pkgs.linuxPackages_6_6;
@ -15,6 +21,13 @@
extraApps = [ ];
};
# Install the web browser of course. What would be a graphical installer
# without one, yes?
programs.firefox = {
enable = true;
package = pkgs.firefox-foodogsquared-guest;
};
# Some niceties.
suites.desktop.enable = true;