hacked together some basic netboot stuff

This commit is contained in:
Rouven Seifert 2023-05-21 23:40:21 +02:00
parent fbbb68ee06
commit 8b37b0adfc
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 48 additions and 6 deletions

19
hosts/netboot/default.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/netboot/netboot-minimal.nix"
];
console = {
font = "Lat2-Terminus16";
keyMap = "dvorak";
};
programs.git.enable = true;
# in case we need to rescue a zfs machine
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
system.stateVersion = "23.05";
}

View file

@ -4,7 +4,7 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.greetd}/bin/agreety --cmd Hyprland";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd Hyprland";
};
};
};