mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: use default format for hostname in deploys
This commit is contained in:
parent
acbc8b852c
commit
f273357a4f
3 changed files with 1 additions and 2 deletions
|
|
@ -65,6 +65,7 @@
|
||||||
autoRollback = mkOptionDefault true;
|
autoRollback = mkOptionDefault true;
|
||||||
magicRollback = mkOptionDefault true;
|
magicRollback = mkOptionDefault true;
|
||||||
fastConnection = mkOptionDefault false;
|
fastConnection = mkOptionDefault false;
|
||||||
|
hostname = mkOptionDefault "${machine}.local.gensokyo.zone";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "root";
|
user = "root";
|
||||||
path = inputs.deploy-rs.lib.${system}.activate.nixos inputs.self.nixosConfigurations.${machine};
|
path = inputs.deploy-rs.lib.${system}.activate.nixos inputs.self.nixosConfigurations.${machine};
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
_: {
|
_: {
|
||||||
deploy.hostname = "hakurei.local.gensokyo.zone";
|
|
||||||
arch = "x86_64";
|
arch = "x86_64";
|
||||||
type = "NixOS";
|
type = "NixOS";
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
_: {
|
_: {
|
||||||
deploy.hostname = "mediabox.local.gensokyo.zone";
|
|
||||||
arch = "x86_64";
|
arch = "x86_64";
|
||||||
type = "NixOS";
|
type = "NixOS";
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue