fix bootstrap
This commit is contained in:
parent
2fef88607d
commit
5b93ec1e84
2 changed files with 6 additions and 3 deletions
|
@ -56,12 +56,15 @@
|
||||||
vultr1 = mkServer nixpkgs-stable "x86_64-linux" "vultr1";
|
vultr1 = mkServer nixpkgs-stable "x86_64-linux" "vultr1";
|
||||||
rpi4_8 = mkRaspi nixpkgs-stable "rpi4-8";
|
rpi4_8 = mkRaspi nixpkgs-stable "rpi4-8";
|
||||||
|
|
||||||
bootstrap = nixpkgs-stable.lib.nixosSystem {
|
bootstrap = nixpkgs-stable.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
(./. + "/nixos/boxes/bootstrap")
|
(./. + "/nixos/boxes/bootstrap")
|
||||||
];
|
];
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = {
|
||||||
|
inherit inputs system;
|
||||||
|
nixpkgs-nixos-unstable-and-unfree = import nixpkgs-nixos-unstable { inherit system; config = { allowUnfree = true; }; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
# nix build .#nixosConfigurations.raspiimage.config.system.build.sdImage
|
# nix build .#nixosConfigurations.raspiimage.config.system.build.sdImage
|
||||||
# sudo dd if=result/sd-image/nixos-sd-image-21.11.20211201.a640d83-aarch64-linux.img of=/dev/sda bs=4M conv=fsync status=progress
|
# sudo dd if=result/sd-image/nixos-sd-image-21.11.20211201.a640d83-aarch64-linux.img of=/dev/sda bs=4M conv=fsync status=progress
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, nixpkgs-nixos-unstable-and-unfree, ... }:
|
||||||
{
|
{
|
||||||
networking.hostName = "fixme";
|
networking.hostName = "fixme";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue