mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
test: setting up nas structure
This commit is contained in:
parent
b5614b006f
commit
2fdadf15f0
17 changed files with 662 additions and 94 deletions
38
modules/nixos/nas/syncthing/default.nix
Executable file
38
modules/nixos/nas/syncthing/default.nix
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (import ./config) syncthingVM;
|
||||
inherit (flake.config.people) user0;
|
||||
|
||||
syncthingNick = syncthingVM {
|
||||
user = user0;
|
||||
ip = "192.168.50.61";
|
||||
mac = "02:00:00:00:51:61";
|
||||
userMac = "02:00:00:00:00:61";
|
||||
ssh = 2501;
|
||||
syncID = "RMDKNJY-BTX6FYF-G6SR332-WS6HARI-PF74SC6-VPBSGRQ-MKVQZEQ-KSIB6QV";
|
||||
deviceIP = "192.168.50.8";
|
||||
};
|
||||
|
||||
syncthingStacie = syncthingVM {
|
||||
user = "stacie";
|
||||
ip = "192.168.50.62";
|
||||
mac = "02:00:00:00:52:62";
|
||||
userMac = "02:00:00:00:00:62";
|
||||
ssh = 2502;
|
||||
syncID = "";
|
||||
deviceIP = "";
|
||||
};
|
||||
|
||||
syncthingGarnet = syncthingVM {
|
||||
user = "garnet";
|
||||
ip = "192.168.50.63";
|
||||
mac = "02:00:00:00:53:63";
|
||||
userMac = "02:00:00:00:00:63";
|
||||
ssh = 2503;
|
||||
syncID = "";
|
||||
deviceIP = "";
|
||||
};
|
||||
|
||||
in
|
||||
syncthingNick
|
||||
# // syncthingStacie // syncthingGarnet
|
||||
Loading…
Add table
Add a link
Reference in a new issue