Improve live installation ISO

This commit is contained in:
Joshua Yuen 2026-01-24 19:38:04 -05:00
parent 10e483c020
commit c6554c72fb
Signed by: josh
GPG Key ID: 502720BC22ED411C
6 changed files with 46 additions and 6 deletions

View File

@ -55,14 +55,14 @@
inherit system;
specialArgs = {
inherit inputs;
inherit host;
inherit profile;
host = "installation-iso";
profile = "desktop";
inherit username;
};
modules = [
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
{ environment.systemPackages = [ install-system.packages.${system}.default ]; }
./hosts/${host}
./hosts/installation-iso
];
};
};

View File

@ -0,0 +1,25 @@
{
...
}:
{
imports = [
../../modules/core
../../modules/options
./hardware.nix
./host-packages.nix
];
modules.hyprland = {
enable = true;
terminal = "kitty";
};
modules.plasma.enable = false;
modules.displayManager.displayManager = "gdm";
modules.zsh.enable = true;
modules.shell.defaultShell = "zsh";
modules.pipewire.enable = true;
}

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
{
pkgs,
...
}:
{
environment.systemPackages = with pkgs; [
parted
unixtools.fdisk
];
}

View File

@ -7,7 +7,7 @@
networking = {
hostName = "${host}";
networkmanager.enable = true;
wireless.enable = false;
wireless.enable = true;
};
environment.systemPackages = with pkgs; [ networkmanagerapplet ];

View File

@ -48,8 +48,10 @@ in
# Set /etc/shells so GDM will show our user when ZSH is selected
environment.shells = [ pkgs.${shellCfg.defaultShell} ];
# Needed to get completion for system packages (e.g. systemd)
environment.pathsToLink =
[ ]
# Since Home Manager is installed via its NixOS module, we need to add this so that
# the portal definitions and DE provided configurations get linked
[ "/share/applications" "/share/xdg-desktop-portal" ]
# Needed to get completion for system packages (e.g. systemd)
++ (if zshCfg.enable then [ "/share/zsh" ] else [ ]);
}