1
0
Fork 0
forked from foxora/nix

migrate to experimental snow.flake schema

This commit is contained in:
do butterflies cry? 2026-02-21 16:21:20 +10:00
parent a477f18fa6
commit 3acfc33cea
3 changed files with 34 additions and 53 deletions

View file

@ -1,22 +1,20 @@
{cerulean, ...} @ inputs:
cerulean.mkNexus ./. (self: {
nexus = {
args = {inherit inputs;};
modules = with inputs; [];
{
inputs,
cerulean,
...
} @ args: {
nodes = {
base = inputs.nixpkgs;
homeManager = inputs.home-manager;
args = {inherit inputs;};
modules = with inputs; [];
groups = {
servers = {};
};
nodes = let
inherit
(self.nexus)
groups
;
in {
nodes = {
nixarawrui = {
system = "x86_64-linux";
@ -30,7 +28,7 @@ cerulean.mkNexus ./. (self: {
arcturus = {
system = "x86_64-linux";
groups = [
groups = groups: [
groups.servers
];
@ -55,9 +53,12 @@ cerulean.mkNexus ./. (self: {
# needed to get interface working
qemu.extraArgs = [
"-monitor" "unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
"-chardev" "socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off"
"-serial" "chardev:serial1"
"-monitor"
"unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait"
"-chardev"
"socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off"
"-serial"
"chardev:serial1"
];
# memory cannot be 2GB so i doubled it and used 4GB:
@ -110,7 +111,7 @@ cerulean.mkNexus ./. (self: {
lyra = {
system = "x86_64-linux";
groups = [
groups = groups: [
groups.servers
];
@ -122,4 +123,4 @@ cerulean.mkNexus ./. (self: {
};
};
};
})
}