pi3b: bumped to NixOS 20.09

This commit is contained in:
Craige McWhirter 2021-01-07 10:09:42 +10:00
parent 9a07c29a02
commit 78e488d0d8
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
3 changed files with 11 additions and 9 deletions

View file

@ -14,7 +14,9 @@
"vc4" # Allows early (earlier) mode setting "vc4" # Allows early (earlier) mode setting
]; ];
}; };
kernelPackages = pkgs.linuxPackages_latest; # For a Raspberry Pi 2 or 3) # !!! Do select not latest (5.8 at the time) as it is currently broken
# !!! (see https://github.com/NixOS/nixpkgs/issues/97064)
kernelPackages = pkgs.linuxPackages; # For a Raspberry Pi 2 or 3)
kernelParams = [ kernelParams = [
"cma=32M" # Needed for the virtual console to work on the RPi 3 "cma=32M" # Needed for the virtual console to work on the RPi 3
"console=ttyS0,115200n8" # Enable the serial console "console=ttyS0,115200n8" # Enable the serial console
@ -53,10 +55,10 @@
# as an opaque blob instead of a discrete FAT32 filesystem. # as an opaque blob instead of a discrete FAT32 filesystem.
options = [ "nofail" "noauto" ]; options = [ "nofail" "noauto" ];
}; };
"/var" = { #"/var" = {
device = "/dev/disk/by-label/var"; # device = "/dev/disk/by-label/var";
fsType = "ext4"; # fsType = "ext4";
}; #};
}; };
# !!! Adding a swap file is optional, but strongly recommended! # !!! Adding a swap file is optional, but strongly recommended!

View file

@ -8,11 +8,11 @@
]; ];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.69.0.204"; deployment.targetHost = "10.42.0.204";
networking.hostName = "paidh-ceithir"; # Define your hostname. networking.hostName = "paidh-ceithir"; # Define your hostname.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
system.stateVersion = "20.03"; # The version of NixOS originally installed system.stateVersion = "20.09"; # The version of NixOS originally installed
} }

View file

@ -8,11 +8,11 @@
]; ];
# Comment out deployment when building the SD Image. # Comment out deployment when building the SD Image.
deployment.targetHost = "10.69.0.205"; deployment.targetHost = "10.42.0.205";
networking.hostName = "paidh-coig"; # Define your hostname. networking.hostName = "paidh-coig"; # Define your hostname.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
system.stateVersion = "20.03"; # The version of NixOS originally installed system.stateVersion = "20.09"; # The version of NixOS originally installed
} }