From b5d95071571de62aa62783c65e8cf7ecc487d162 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 24 Jan 2023 20:40:41 +0100 Subject: music: init --- hosts/dishwasher/default.nix | 1 + hosts/dishwasher/mcvm-network.nix | 6 +++--- hosts/dishwasher/microvms.nix | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 hosts/dishwasher/microvms.nix (limited to 'hosts/dishwasher') diff --git a/hosts/dishwasher/default.nix b/hosts/dishwasher/default.nix index b6c6651..f6e7a79 100644 --- a/hosts/dishwasher/default.nix +++ b/hosts/dishwasher/default.nix @@ -5,5 +5,6 @@ ./secrets.nix ./oxalab.nix ./mcvm-network.nix + ./microvms.nix ]; } diff --git a/hosts/dishwasher/mcvm-network.nix b/hosts/dishwasher/mcvm-network.nix index 1e59d3f..73894f8 100644 --- a/hosts/dishwasher/mcvm-network.nix +++ b/hosts/dishwasher/mcvm-network.nix @@ -14,9 +14,9 @@ addresses = [{ addressConfig.Address = "10.99.99.1/24"; } - { - addressConfig.Address = "fd12:3456:789a::1/64"; - }]; + { + addressConfig.Address = "fd12:3456:789a::1/64"; + }]; ipv6Prefixes = [{ ipv6PrefixConfig.Prefix = "fd12:3456:789a::/64"; }]; diff --git a/hosts/dishwasher/microvms.nix b/hosts/dishwasher/microvms.nix new file mode 100644 index 0000000..9c69142 --- /dev/null +++ b/hosts/dishwasher/microvms.nix @@ -0,0 +1,12 @@ +{ self, ... }: { + microvm.vms = { + nextcloud = { + flake = self; + updateFlake = "github:oxapentane/nix-config/master"; + }; + music = { + flake = self; + updateFlake = "github:oxapentane/nix-config/navidrome"; + }; + }; +} -- cgit v1.3.1