nix: Various tests and cleaning
This commit is contained in:
parent
a521dd4221
commit
1139bd6524
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, ... }:
|
||||
{
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
<nixos-hardware/pine64/pinebook-pro>
|
||||
./os/loader.nix
|
||||
# <nixos-hardware/pine64/pinebook-pro>
|
||||
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
||||
# ./os/loader.nix # Don't uncomment this before having put extra behind an option!
|
||||
];
|
||||
|
||||
networking.hostName = "pindakaas.geoffrey.frogeye.fr";
|
||||
nixpkgs.crossSystem.system = "aarch64-linux";
|
||||
# networking.hostName = "pindakaas.geoffrey.frogeye.fr";
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./curacao.nix
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue