fix bootstrap

This commit is contained in:
Cyryl Płotnicki 2022-03-02 22:46:45 +00:00
parent 2fef88607d
commit 5b93ec1e84
2 changed files with 6 additions and 3 deletions

View file

@ -56,12 +56,15 @@
vultr1 = mkServer nixpkgs-stable "x86_64-linux" "vultr1";
rpi4_8 = mkRaspi nixpkgs-stable "rpi4-8";
bootstrap = nixpkgs-stable.lib.nixosSystem {
bootstrap = nixpkgs-stable.lib.nixosSystem rec {
system = "x86_64-linux";
modules = [
(./. + "/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
# 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

View file

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ config, pkgs, inputs, nixpkgs-nixos-unstable-and-unfree, ... }:
{
networking.hostName = "fixme";