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 = mkNixosConfig =
{ hostname { hostname
, system ? "x86_64-linux" , system ? "x86_64-linux"
, buildPhase ? ""
, nixpkgs ? inputs.nixpkgs , nixpkgs ? inputs.nixpkgs
, hardwareModules ? [ ] , hardwareModules ? [ ]
# basemodules is the base of the entire machine building # basemodules is the base of the entire machine building
@ -143,6 +144,10 @@
# Nix dev laptop # Nix dev laptop
hostname = "durincore"; hostname = "durincore";
system = "x86_64-linux"; 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 = [ hardwareModules = [
./nixos/profiles/hw-thinkpad-t470.nix ./nixos/profiles/hw-thinkpad-t470.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t470s inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t470s
@ -158,6 +163,10 @@
# forgejo server # forgejo server
hostname = "varda"; hostname = "varda";
system = "aarch64-linux"; 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 = [ hardwareModules = [
./nixos/profiles/hw-hetzner-cax.nix ./nixos/profiles/hw-hetzner-cax.nix
]; ];