test: setting up nas structure

This commit is contained in:
Nick 2025-12-07 04:37:17 -06:00
parent 7cf2f70441
commit 312c52d613
8 changed files with 100 additions and 73 deletions

View file

@ -91,7 +91,7 @@ in
network = {
enable = true;
networks."20-lan" = {
matchConfig.Name = "enp0s6";
matchConfig.Name = "enp0s5";
addresses = [
{ Address = "${ip}/24"; }
];
@ -110,7 +110,6 @@ in
tmpfiles.rules = [
"d /var/lib/${serviceCfg.name} 0755 ${serviceCfg.name} ${serviceCfg.name} -"
"z /etc/opencloud 0700 ${serviceCfg.name} ${serviceCfg.name} -"
];
};
microvm = {

View file

@ -1,6 +1,6 @@
{ flake, ... }:
{ flake, pkgs, ... }:
let
inherit (import ./config) opencloudVM;
inherit (import ./config { inherit flake pkgs; }) opencloudVM;
inherit (flake.config.people) user0;
opencloudNick = opencloudVM {
@ -12,23 +12,24 @@ let
host = "";
};
opencloudStacie = opencloudVM {
user = "stacie";
ip = "192.168.50.68";
mac = "02:00:00:00:58:68";
userMac = "02:00:00:00:00:68";
ssh = 2508;
host = "";
};
# opencloudStacie = opencloudVM {
# user = "stacie";
# ip = "192.168.50.68";
# mac = "02:00:00:00:58:68";
# userMac = "02:00:00:00:00:68";
# ssh = 2508;
# host = "";
# };
opencloudGarnet = opencloudVM {
user = "garnet";
ip = "192.168.50.69";
mac = "02:00:00:00:59:69";
userMac = "02:00:00:00:00:69";
ssh = 2509;
host = "";
};
# opencloudGarnet = opencloudVM {
# user = "garnet";
# ip = "192.168.50.69";
# mac = "02:00:00:00:59:69";
# userMac = "02:00:00:00:00:69";
# ssh = 2509;
# host = "";
# };
in
opencloudNick // opencloudStacie // opencloudGarnet
opencloudNick
# // opencloudStacie // opencloudGarnet