Compare commits
2 commits
f75bb699e9
...
abeb891d5d
| Author | SHA1 | Date | |
|---|---|---|---|
| abeb891d5d | |||
| 2b64410c20 |
4 changed files with 52 additions and 1 deletions
|
|
@ -92,6 +92,7 @@
|
||||||
inherit firefox-addons;
|
inherit firefox-addons;
|
||||||
inherit buildFirefoxXpiAddon;
|
inherit buildFirefoxXpiAddon;
|
||||||
inherit custom-pkgs;
|
inherit custom-pkgs;
|
||||||
|
inherit hostname;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
./../programs/firefox.nix
|
./../programs/firefox.nix
|
||||||
./../programs/zed.nix
|
./../programs/zed.nix
|
||||||
./../services/gpg-agent.nix
|
./../services/gpg-agent.nix
|
||||||
|
./../services/syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
defaults."AltTab" = {
|
defaults."AltTab" = {
|
||||||
appearanceStyle = 0;
|
appearanceStyle = 0;
|
||||||
nextWindowGesture = 1;
|
nextWindowGesture = 3;
|
||||||
screenRecordingPermissionSkipped = true;
|
screenRecordingPermissionSkipped = true;
|
||||||
showFullscreenWindows = 0;
|
showFullscreenWindows = 0;
|
||||||
showHiddenWindows = 1;
|
showHiddenWindows = 1;
|
||||||
|
|
|
||||||
49
services/syncthing.nix
Normal file
49
services/syncthing.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
{ hostname, ... }: {
|
||||||
|
services.syncthing = let
|
||||||
|
devices = {
|
||||||
|
bracket.id =
|
||||||
|
"6I5AHYC-IWSO3SZ-TZY4SSR-Z7MGB2V-QMCMJXE-QW5JBQV-DBDU5YV-4LRLKQW";
|
||||||
|
boozer.id =
|
||||||
|
"JKLIUHR-SBAVQCX-43ETUQR-M4ZZA75-JXK7EOF-F5RJBG7-PT363R6-MJ6WLQ4";
|
||||||
|
} // (if hostname != "odyssey" then {
|
||||||
|
odyssey.id =
|
||||||
|
"YC6NDSU-2JRS4MY-BSM4B5V-FWPXKSJ-S573II2-HDOSWSN-DVIDORQ-UUHTKQB";
|
||||||
|
} else
|
||||||
|
{ }) // (if hostname != "corianne" then {
|
||||||
|
corianne.id =
|
||||||
|
"EN5KDDZ-F6DYDSR-KK35M2M-BVGBU4W-MVC4ENT-5EPWA6M-BBJPIBU-EQTPRQX";
|
||||||
|
} else
|
||||||
|
{ });
|
||||||
|
in {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
inherit devices;
|
||||||
|
folders = let deviceNames = builtins.attrNames devices;
|
||||||
|
in {
|
||||||
|
Logseq = {
|
||||||
|
label = "Logseq";
|
||||||
|
id = "kkqs5-4upcf";
|
||||||
|
path = "~/Logseq";
|
||||||
|
type = "sendreceive";
|
||||||
|
versioning = {
|
||||||
|
type = "trashcan";
|
||||||
|
params.cleanoutDays = 14;
|
||||||
|
};
|
||||||
|
devices = deviceNames;
|
||||||
|
};
|
||||||
|
SyncBucket = {
|
||||||
|
label = "SyncBucket";
|
||||||
|
id = "9l6gb-rkyou";
|
||||||
|
path = "~/SyncBucket";
|
||||||
|
type = "sendreceive";
|
||||||
|
versioning = {
|
||||||
|
type = "trashcan";
|
||||||
|
params.cleanoutDays = 14;
|
||||||
|
};
|
||||||
|
devices = deviceNames;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
options = { urAccepted = -1; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue