Lets see if this fixes things.
Some checks failed
Build / nix-build (ubuntu-aarch64, varda) (push) Failing after 2m48s
Build / nix-build (ubuntu-x86_64, durincore) (push) Failing after 4m14s
Build / Nix Build Successful (push) Successful in 1s

This commit is contained in:
Joseph Hanson 2024-05-21 10:10:55 -05:00
parent a5b77db49c
commit b08b532b33

View file

@ -99,6 +99,7 @@
mkNixosConfig =
{ hostname
, system ? "x86_64-linux"
, buildPhase ? ""
, nixpkgs ? inputs.nixpkgs
, hardwareModules ? [ ]
# basemodules is the base of the entire machine building
@ -143,6 +144,10 @@
# Nix dev laptop
hostname = "durincore";
system = "x86_64-linux";
buildPhase = ''
# this line removes a bug where value of $HOME is set to a non-writable /homeless-shelter dir
export HOME=$(pwd)
'';
hardwareModules = [
./nixos/profiles/hw-thinkpad-t470.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t470s
@ -158,6 +163,10 @@
# forgejo server
hostname = "varda";
system = "aarch64-linux";
buildPhase = ''
# this line removes a bug where value of $HOME is set to a non-writable /homeless-shelter dir
export HOME=$(pwd)
'';
hardwareModules = [
./nixos/profiles/hw-hetzner-cax.nix
];