Compare commits
No commits in common. "d7983ac492b4270e43d2a06f270e579b8efe1443" and "b7210fcf8eab1069c56510c6319baaaf4e16e141" have entirely different histories.
d7983ac492
...
b7210fcf8e
3 changed files with 9 additions and 21 deletions
|
@ -23,7 +23,6 @@
|
|||
|
||||
common.syncthing = {
|
||||
enable = true;
|
||||
basePath = "/mnt/data/services/syncthing/data";
|
||||
devices = {
|
||||
Lenni = { id = "XS6NR2Q-DHVB5G4-P43CHWR-TVBIY5A-FCIS7CU-S5UVNZA-5YPJYST-2EO2GAG"; };
|
||||
Puenktchen = { id = "VP3YVIM-JNSZTXV-7AS7FA2-3W5QKH6-XOWXX7N-STUR4JR-PR6SPCV-HJZMAAN"; };
|
||||
|
|
|
@ -15,13 +15,8 @@ in
|
|||
options.id = lib.mkOption { type = lib.types.str; };
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
basePath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "/mnt/data";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -36,32 +31,32 @@ in
|
|||
folders = lib.mkDefault {
|
||||
"Documents" = {
|
||||
id = "jtl6g-qjmwo";
|
||||
path = config.common.syncthing.basePath + "/Documents";
|
||||
path = "/mnt/data/Documents";
|
||||
devices = deviceList;
|
||||
};
|
||||
"Enpass" = lib.mkDefault {
|
||||
id = "ciksm-xsw4m";
|
||||
path = config.common.syncthing.basePath + "/Enpass";
|
||||
path = "/mnt/data/Enpass";
|
||||
devices = deviceList;
|
||||
};
|
||||
"Pictures" = lib.mkDefault {
|
||||
id = "po4qj-q9t0t";
|
||||
path = config.common.syncthing.basePath + "/Pictures";
|
||||
path = "/mnt/data/Pictures";
|
||||
devices = deviceList;
|
||||
};
|
||||
"Videos" = lib.mkDefault {
|
||||
id = "4wqf5-xasng";
|
||||
path = config.common.syncthing.basePath + "/Videos";
|
||||
path = "/mnt/data/Videos";
|
||||
devices = deviceList;
|
||||
};
|
||||
"Notes" = lib.mkDefault {
|
||||
id = "oc61n-iewgj";
|
||||
path = config.common.syncthing.basePath + "/Notes";
|
||||
path = "/mnt/data/Notes";
|
||||
devices = deviceList;
|
||||
};
|
||||
"Music" = lib.mkDefault {
|
||||
id = "xxh8a-3y2tq";
|
||||
path = config.common.syncthing.basePath + "/Music";
|
||||
path = "/mnt/data/Music";
|
||||
devices = deviceList;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -2,14 +2,8 @@
|
|||
{
|
||||
options = {
|
||||
desktop = {
|
||||
kitty.enable = lib.mkOption {
|
||||
default = config.desktop.enable;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
vscodium.enable = lib.mkOption {
|
||||
default = config.desktop.enable;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
kitty.enable = lib.mkEnableOption { default = config.desktop.enable; };
|
||||
vscodium.enable = lib.mkEnableOption { default = config.desktop.enable; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue