initial configuration
This commit is contained in:
34
modules/system/programs/syncthing.nix
Normal file
34
modules/system/programs/syncthing.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "xeovalyte";
|
||||
dataDir = "/home/xeovalyte";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
openDefaultPorts = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"xv-server" = {
|
||||
id = "DYBGKGM-I7JM6NG-EV7EGYY-NZL5WCG-CSDSJCJ-B4Q7AOP-5YVQYAZ-ETLQWA5";
|
||||
addresses = [
|
||||
"dynamic"
|
||||
"tcp://ddns.xeovalyte.com:22000"
|
||||
"quick://ddns.xeovalyte.com:22000"
|
||||
];
|
||||
};
|
||||
};
|
||||
folders = {
|
||||
"xeovalyte-documents" = { # Name of folder in Syncthing, also the folder ID
|
||||
path = "/home/xeovalyte/Documents"; # Which folder to add to Syncthing
|
||||
devices = [ "xv-server" ]; # Which devices to share the folder with
|
||||
};
|
||||
"xeovalyte-logseq" = { # Name of folder in Syncthing, also the folder ID
|
||||
path = "/home/xeovalyte/Logseq"; # Which folder to add to Syncthing
|
||||
devices = [ "xv-server" ]; # Which devices to share the folder with
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
14
modules/system/programs/thunar.nix
Normal file
14
modules/system/programs/thunar.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
|
||||
services.gvfs.enable = true;
|
||||
services.tumbler.enable = true;
|
||||
}
|
Reference in New Issue
Block a user