Skip to content

Commit 741f766

Browse files
feat(penguin): added syncthing config for penguin
1 parent 70132b9 commit 741f766

File tree

4 files changed

+43
-0
lines changed

4 files changed

+43
-0
lines changed

configurations/nixos/penguin/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
./config.nix
2424
./home.nix
2525

26+
./services
27+
2628
# system setup
2729
./system
2830
];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
imports = [
3+
./services.nix
4+
];
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ inputs, ... }:
2+
{
3+
imports = [ "${inputs.self}/modules/nixos/services" ];
4+
5+
# services
6+
config.nixos.services = {
7+
syncthing = {
8+
enable = true;
9+
settings = import ./syncthing.nix;
10+
};
11+
};
12+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
devices = {
3+
"mbp3" = {
4+
id = "V4NCONK-S2JLQLH-AQULXDL-Y4QQWBB-FO67NEP-G2Q2SSG-BQF4ZPW-5VHRGAY";
5+
};
6+
"lab" = {
7+
id = "3ZJSMFC-WCOOIUP-HKUVIVR-WREXF56-SAVRI3E-A6BFSUV-QPA5J37-DY6KAQD";
8+
};
9+
};
10+
folders = {
11+
"notes" = {
12+
path = "~/Documents/vaults/personal";
13+
devices = [
14+
"mbp3"
15+
"lab"
16+
];
17+
versioning = {
18+
type = "simple";
19+
params.keep = "5";
20+
};
21+
type = "sendreceive";
22+
};
23+
};
24+
}

0 commit comments

Comments
 (0)