pi3Brack: enabled wireless

This commit is contained in:
Serĉanto de Scio 2022-07-11 15:52:41 +10:00
parent 7096d89399
commit 9f41af876b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
6 changed files with 10 additions and 7 deletions

View file

@ -73,9 +73,11 @@
}; };
networking = { networking = {
enableB43Firmware = false; # If true, enable Pi wireless firmware enableB43Firmware = true; # If true, enable Pi wireless firmware
}; };
nixpkgs.config.allowUnfree = true; # required by B34Firmare above
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libraspberrypi # Userland tools for the Raspberry Pi board libraspberrypi # Userland tools for the Raspberry Pi board
]; ];

View file

@ -12,7 +12,7 @@
]; ];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.202"; deployment.targetHost = "10.42.0.212";
networking.hostName = "buaidheach"; # Define your hostname. networking.hostName = "buaidheach"; # Define your hostname.
system.stateVersion = "22.05"; # The version of NixOS originally installed system.stateVersion = "22.05"; # The version of NixOS originally installed

View file

@ -7,11 +7,11 @@
}: { }: {
imports = [ imports = [
../networks/pi3B_rack.nix ../networks/pi3B_rack.nix
../profiles/cyclone-ibis.nix #../profiles/cyclone-ibis.nix
]; ];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.203"; deployment.targetHost = "10.42.0.213";
networking.hostName = "ceitidh"; # Define your hostname. networking.hostName = "ceitidh"; # Define your hostname.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -8,7 +8,7 @@
imports = [../networks/pi3B_rack.nix]; imports = [../networks/pi3B_rack.nix];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.204"; deployment.targetHost = "10.42.0.214";
networking.hostName = "doilidh"; # Define your hostname. networking.hostName = "doilidh"; # Define your hostname.
environment.systemPackages = with pkgs; []; environment.systemPackages = with pkgs; [];

View file

@ -8,7 +8,7 @@
imports = [../networks/pi3B_rack.nix]; imports = [../networks/pi3B_rack.nix];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.42.0.205"; deployment.targetHost = "10.42.0.215";
networking.hostName = "eamhair"; # Define your hostname. networking.hostName = "eamhair"; # Define your hostname.
environment.systemPackages = with pkgs; []; environment.systemPackages = with pkgs; [];

View file

@ -6,6 +6,7 @@
../profiles/host_common.nix ../profiles/host_common.nix
../profiles/pi_common.nix ../profiles/pi_common.nix
../profiles/server_common.nix ../profiles/server_common.nix
../secrets/wireless-pi3B.nix
]; ];
# Ensure the right package architecture is used # Ensure the right package architecture is used
@ -16,7 +17,7 @@
}; };
networking.wireless.enable = networking.wireless.enable =
false; # Toggles wireless support via wpa_supplicant. true; # Toggles wireless support via wpa_supplicant.
systemd.network.networks.eth0.ipv6SendRAConfig = { systemd.network.networks.eth0.ipv6SendRAConfig = {
EmitDNS = true; EmitDNS = true;