nix #11
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# TODO Surely there's more elegant?
|
# TODO Surely there's more elegant?
|
||||||
|
|
||||||
nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs
|
nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs
|
||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
|
||||||
nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
|
# First commit before 23.05 release date:
|
||||||
|
nix-channel --add https://github.com/NixOS/nixos-hardware/archive/468a7a108108908c7a35d6549f1e1f0236a9448a.tar.gz nixos-hardware
|
||||||
|
nix-channel --update
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
{ ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# <nixos-hardware/pine64/pinebook-pro>
|
<nixos-hardware/pine64/pinebook-pro>
|
||||||
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
||||||
./os/loader.nix
|
./os/loader.nix
|
||||||
];
|
];
|
||||||
networking.hostName = "pindakaas";
|
networking.hostName = "pindakaas";
|
||||||
|
# nixos-hardware use latest kernel by default. This obviously runs quickly out of sync with zfs packages.
|
||||||
|
# zfs packages are included despite me asking anything zfs, probably they're in the image for installation purposes?
|
||||||
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue