add graphic design packages
This commit is contained in:
parent
97511f3a44
commit
c2b8875fe0
4 changed files with 46 additions and 28 deletions
|
|
@ -12,34 +12,34 @@
|
|||
in {
|
||||
imports = [];
|
||||
|
||||
options = {
|
||||
rootDir = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = "/home/${cfg.myNixOS.sharedSettings.mainUser}/sync";
|
||||
};
|
||||
|
||||
remoteGui = lib.mkEnableOption "Enable port for remote WebGUI";
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = cfg.myNixOS.sharedSettings.mainUser;
|
||||
dataDir = config.rootDir;
|
||||
configDir = "/home/${cfg.myNixOS.sharedSettings.mainUser}/.config/syncthing";
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
settings = {
|
||||
devices = {
|
||||
"saintAlphonso" = { id = saintAlphonsoID; };
|
||||
};
|
||||
folders = {
|
||||
"KeepassXC" = {
|
||||
path = "/home/${cfg.myNixOS.sharedSettings.mainUser}/KeepassXC";
|
||||
devices = [ "saintAlphonso" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# options = {
|
||||
# rootDir = lib.mkOption {
|
||||
# type = lib.types.path;
|
||||
# default = "/home/${cfg.myNixOS.sharedSettings.mainUser}/sync";
|
||||
# };
|
||||
#
|
||||
# remoteGui = lib.mkEnableOption "Enable port for remote WebGUI";
|
||||
# };
|
||||
#
|
||||
# services.syncthing = {
|
||||
# enable = true;
|
||||
# user = cfg.myNixOS.sharedSettings.mainUser;
|
||||
# dataDir = config.rootDir;
|
||||
# configDir = "/home/${cfg.myNixOS.sharedSettings.mainUser}/.config/syncthing";
|
||||
# overrideDevices = true;
|
||||
# overrideFolders = true;
|
||||
# settings = {
|
||||
# devices = {
|
||||
# "saintAlphonso" = { id = saintAlphonsoID; };
|
||||
# };
|
||||
# folders = {
|
||||
# "KeepassXC" = {
|
||||
# path = "/home/${cfg.myNixOS.sharedSettings.mainUser}/KeepassXC";
|
||||
# devices = [ "saintAlphonso" ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# # Syncthing ports: 8384 for remote access to GUI
|
||||
# # 22000 TCP and/or UDP for sync traffic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue