Lets see if this fixes things.
This commit is contained in:
parent
a5b77db49c
commit
b08b532b33
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Reference in a new issue