nix #11
3
config/nix/build-pindakaas-image.sh
Executable file
3
config/nix/build-pindakaas-image.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#/usr/bin/env sh
|
||||||
|
export NIXPKGS_ALLOW_UNFREE=1
|
||||||
|
nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=./pindakaas.nix
|
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
time.timeZone = "Europe/Amsterdam";
|
time.timeZone = "Europe/Amsterdam";
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixos-hardware/pine64/pinebook-pro>
|
# <nixos-hardware/pine64/pinebook-pro>
|
||||||
./os/loader.nix
|
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
||||||
|
# ./os/loader.nix # Don't uncomment this before having put extra behind an option!
|
||||||
];
|
];
|
||||||
|
nixpkgs.crossSystem.system = "aarch64-linux";
|
||||||
networking.hostName = "pindakaas.geoffrey.frogeye.fr";
|
# networking.hostName = "pindakaas.geoffrey.frogeye.fr";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./curacao.nix
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue