builders: default system
This commit is contained in:
parent
19423844ad
commit
b0572534d9
2 changed files with 2 additions and 5 deletions
|
@ -24,7 +24,6 @@
|
|||
[
|
||||
{
|
||||
hostname = "snowhawk";
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -34,12 +33,10 @@
|
|||
{
|
||||
user = "zynh";
|
||||
hostname = "msiserver";
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
{
|
||||
user = "val";
|
||||
hostname = "caveserver";
|
||||
system = "x86_64-linux";
|
||||
}
|
||||
{
|
||||
user = "zynh";
|
||||
|
|
|
@ -17,7 +17,7 @@ let
|
|||
in
|
||||
rec {
|
||||
toPartialNixosConfig =
|
||||
{ hostname, system }:
|
||||
{ hostname, system ? "x86_64-linux" }:
|
||||
nameValuePair
|
||||
hostname
|
||||
(nixosSystem rec {
|
||||
|
@ -44,7 +44,7 @@ rec {
|
|||
systems;
|
||||
|
||||
toPartialHomeManagerConfig =
|
||||
{ user, system, hostname ? "", configHostname ? "" }:
|
||||
{ user, system ? "x86_64-linux", hostname ? "", configHostname ? "" }:
|
||||
let
|
||||
configHost = if builtins.stringLength configHostname > 0 then configHostname else hostname;
|
||||
hostStr = optionalString (builtins.stringLength hostname > 0) "@${hostname}";
|
||||
|
|
Loading…
Reference in a new issue