mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machine/serverle: switch to disko config
This commit is contained in:
parent
95a5e4cc78
commit
08ffb1865a
6 changed files with 92 additions and 45 deletions
|
@ -5,12 +5,12 @@
|
|||
|
||||
# make sure folders exist writable
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/data/ 0755 syncthing syncthing"
|
||||
"d /srv/data/computer 0755 syncthing syncthing"
|
||||
"d /srv/data/phone 0755 syncthing syncthing"
|
||||
"d /srv/data/music 0755 syncthing syncthing"
|
||||
"d /srv/data/photos 0755 syncthing syncthing"
|
||||
"d /srv/data/tmp/aria2 0755 syncthing syncthing"
|
||||
"d /data/ 0755 syncthing syncthing"
|
||||
"d /data/computer 0755 syncthing syncthing"
|
||||
"d /data/phone 0755 syncthing syncthing"
|
||||
"d /data/music 0755 syncthing syncthing"
|
||||
"d /data/photos 0755 syncthing syncthing"
|
||||
"d /data/tmp/aria2 0755 syncthing syncthing"
|
||||
];
|
||||
|
||||
services.syncthing = {
|
||||
|
@ -37,7 +37,7 @@
|
|||
folders = {
|
||||
"Computer" = {
|
||||
id = "djdxo-1akub";
|
||||
path = "/srv/data/computer";
|
||||
path = "/data/computer";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"birdman"
|
||||
|
@ -46,7 +46,7 @@
|
|||
};
|
||||
"Phone" = {
|
||||
id = "4hds7-gpypp";
|
||||
path = "/srv/data/phone";
|
||||
path = "/data/phone";
|
||||
devices = [
|
||||
"thinkman"
|
||||
"birdman"
|
||||
|
@ -55,7 +55,7 @@
|
|||
};
|
||||
"Music" = {
|
||||
id = "mphdq-n6q7y";
|
||||
path = "/srv/data/music";
|
||||
path = "/data/music";
|
||||
watch = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
|
@ -65,7 +65,7 @@
|
|||
};
|
||||
"Pictures" = {
|
||||
id = "cujyo-yiabu";
|
||||
path = "/srv/data/photos";
|
||||
path = "/data/photos";
|
||||
watch = false;
|
||||
devices = [
|
||||
"thinkman"
|
||||
|
@ -74,7 +74,7 @@
|
|||
};
|
||||
"Aria2" = {
|
||||
id = "jjnzq-pgzua";
|
||||
path = "/srv/data/tmp/aria2";
|
||||
path = "/data/tmp/aria2";
|
||||
devices = [
|
||||
"thinkman"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue