Testing a console iso image

This commit is contained in:
iFargle 2023-09-21 10:33:17 +09:00
parent d5e9343451
commit 56725c1742
2 changed files with 10 additions and 0 deletions

View file

@ -57,6 +57,7 @@
};
imageConfigurations = {
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; format = "sd-aarch64"; };
nixos-iso-console = libx.mkHost { hostname = "nixos-iso-console"; };
};
# Devshell for bootstrapping; acessible via 'nix develop'

View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
nixpkgs.config.allowUnfree = false;
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.hostName = "nixos-iso-console";
networking.firewall.allowedTCPPorts = [ 22 ];
}