File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ string
176176
177177
178178* Default:*
179- ` "the-machine-hostname" `
179+ ` config.networking.hostName `
180180
181181
182182
@@ -372,7 +372,7 @@ string
372372
373373
374374* Default:*
375- ` " testing-the-machine- hostname" `
375+ ` testing-${config.services.comin. hostname} `
376376
377377
378378
Original file line number Diff line number Diff line change 1414 hostname = mkOption {
1515 type = str ;
1616 default = config . networking . hostName ;
17+ defaultText = lib . literalExpression "config.networking.hostName" ;
1718 description = ''
18- The name of the configuration to evaluate and deploy.
19+ The name of the configuration to evaluate and deploy.
1920 This value is used by comin to evaluate the flake output
2021 nixosConfigurations."<hostname>" or darwinConfigurations."<hostname>".
2122 Defaults to networking.hostName - you MUST set either this option
122123 name = mkOption {
123124 type = str ;
124125 default = "testing-${ config . services . comin . hostname } " ;
126+ defaultText = lib . literalExpression "testing-\ ${config.services.comin.hostname}" ;
125127 description = "The name of the testing branch." ;
126128 } ;
127129 } ;
You can’t perform that action at this time.
0 commit comments