mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
created syncthing.nix
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
../common/optional/yubikey.nix
|
../common/optional/yubikey.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./nvidia.nix
|
./nvidia.nix
|
||||||
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
|
||||||
@@ -50,53 +51,6 @@
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
syncthing.settings.folders = {
|
|
||||||
"notes" = {
|
|
||||||
id = "l62ul-lpweo"; # cspell:disable-line
|
|
||||||
path = "/home/richie/notes";
|
|
||||||
devices = [
|
|
||||||
"jeeves"
|
|
||||||
];
|
|
||||||
fsWatcherEnabled = true;
|
|
||||||
};
|
|
||||||
"books" = {
|
|
||||||
id = "6uppx-vadmy"; # cspell:disable-line
|
|
||||||
path = "/home/richie/books";
|
|
||||||
devices = [
|
|
||||||
"phone"
|
|
||||||
"jeeves"
|
|
||||||
];
|
|
||||||
fsWatcherEnabled = true;
|
|
||||||
};
|
|
||||||
"important" = {
|
|
||||||
id = "4ckma-gtshs"; # cspell:disable-line
|
|
||||||
path = "/home/richie/important";
|
|
||||||
devices = [
|
|
||||||
"phone"
|
|
||||||
"jeeves"
|
|
||||||
];
|
|
||||||
fsWatcherEnabled = true;
|
|
||||||
};
|
|
||||||
"music" = {
|
|
||||||
id = "vprc5-3azqc"; # cspell:disable-line
|
|
||||||
path = "/home/richie/music";
|
|
||||||
devices = [
|
|
||||||
"ipad"
|
|
||||||
"phone"
|
|
||||||
"jeeves"
|
|
||||||
];
|
|
||||||
fsWatcherEnabled = true;
|
|
||||||
};
|
|
||||||
"projects" = {
|
|
||||||
id = "vyma6-lqqrz"; # cspell:disable-line
|
|
||||||
path = "/home/richie/projects";
|
|
||||||
devices = [
|
|
||||||
"jeeves"
|
|
||||||
];
|
|
||||||
fsWatcherEnabled = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
zfs = {
|
zfs = {
|
||||||
trim.enable = true;
|
trim.enable = true;
|
||||||
autoScrub.enable = true;
|
autoScrub.enable = true;
|
||||||
|
|||||||
48
systems/bob/syncthing.nix
Normal file
48
systems/bob/syncthing.nix
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
services.syncthing.settings.folders = {
|
||||||
|
"notes" = {
|
||||||
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
|
path = "/home/richie/notes";
|
||||||
|
devices = [
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"books" = {
|
||||||
|
id = "6uppx-vadmy"; # cspell:disable-line
|
||||||
|
path = "/home/richie/books";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"important" = {
|
||||||
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
|
path = "/home/richie/important";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"music" = {
|
||||||
|
id = "vprc5-3azqc"; # cspell:disable-line
|
||||||
|
path = "/home/richie/music";
|
||||||
|
devices = [
|
||||||
|
"ipad"
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"projects" = {
|
||||||
|
id = "vyma6-lqqrz"; # cspell:disable-line
|
||||||
|
path = "/home/richie/projects";
|
||||||
|
devices = [
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user