use host
variable
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
4e031e5dd5
commit
b75e42ab0a
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, host, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
with lib.plusultra;
|
with lib.plusultra;
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ with lib.plusultra;
|
||||||
"--update-input"
|
"--update-input"
|
||||||
"unstable"
|
"unstable"
|
||||||
];
|
];
|
||||||
flake = "git+https://git.hoyer.xyz/harald/nixcfg#sgx";
|
flake = "git+https://git.hoyer.xyz/harald/nixcfg#${host}";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "sgx"; # Define your hostname.
|
networking.hostName = "sgx"; # Define your hostname.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, host, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
with lib.plusultra;
|
with lib.plusultra;
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ with lib.plusultra;
|
||||||
"--update-input"
|
"--update-input"
|
||||||
"unstable"
|
"unstable"
|
||||||
];
|
];
|
||||||
flake = "git+https://git.hoyer.xyz/harald/nixcfg#x1";
|
flake = "git+https://git.hoyer.xyz/harald/nixcfg#${host}";
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
Loading…
Reference in a new issue