Evie Litherland-Smith
b102f9e209
Reduce complexity and in flake.nix and be more efficient in re-using things Removed some reduandant files in home/ and tidied up the structure somewhat Moved things from desktop, gui, etc... to top level Changed env to shell, indiv shell expressions import relevant others
22 lines
561 B
Nix
22 lines
561 B
Nix
{...}: let
|
|
user = "xenia";
|
|
in {
|
|
imports = [./sshd ./syncthing];
|
|
services.syncthing = {
|
|
user = user;
|
|
group = "users";
|
|
dataDir = "/home/${user}";
|
|
folders = {
|
|
"Archive".path = "~/Documents/Archive";
|
|
"Books".path = "~/Documents/Books";
|
|
"Comics".path = "~/Documents/Comics";
|
|
"Documents".path = "~/Documents/Sync";
|
|
"Exports".path = "~/Documents/Exports";
|
|
"Notes".path = "~/notes";
|
|
"Pictures".path = "~/Pictures";
|
|
"Xochitl".enable = false;
|
|
"Zotero".path = "~/Documents/Zotero";
|
|
};
|
|
};
|
|
}
|