nixos-t2-iso: init
This commit is contained in:
commit
18b206807a
6 changed files with 146 additions and 0 deletions
21
nix/t2-iso-minimal.nix
Normal file
21
nix/t2-iso-minimal.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, nixos-hardware, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
"${modulesPath}/installer/cd-dvd/channel.nix"
|
||||
nixos-hardware.nixosModules.apple-t2
|
||||
];
|
||||
|
||||
# ZFS is broken and prevents building without this
|
||||
nixpkgs.config.allowBroken = true;
|
||||
|
||||
# NetworkManager is preferred because wpa_supplicant does not work well (though wpa_cli seems to work fine for some reason)
|
||||
# wpa_supplicant is enabled by a module imported by the installation CD module so it is turned off so that it does not conflict with NetworkManager
|
||||
networking.networkmanager.enable = true;
|
||||
networking.wireless.enable = false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue