nix: Various tests and cleaning

This commit is contained in:
Geoffrey Frogeye 2023-10-29 17:20:35 +01:00
parent a521dd4221
commit 1139bd6524
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
4 changed files with 8 additions and 11 deletions

View 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

View file

@ -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";

View file

@ -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";
} }

View file

@ -1,6 +0,0 @@
{ config, pkgs, ... }:
{
imports = [
./curacao.nix
];
}