Skip to content

Commit

Permalink
feat(syncthing): remove music and mundoiu
Browse files Browse the repository at this point in the history
  • Loading branch information
kmein committed Apr 3, 2024
1 parent ee0feb3 commit 7484955
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions configs/cloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
inherit (import ../lib) tmpfilesConfig;
in {
systemd.tmpfiles.rules = map tmpfilesConfig [
{
type = "L+";
user = config.users.users.me.name;
group = "users";
mode = "0755";
argument = "${config.users.users.me.home}/cloud/nextcloud/Uni";
path = "${config.users.users.me.home}/uni";
}
];

services.gnome.gnome-keyring.enable = true;
Expand Down Expand Up @@ -101,15 +93,15 @@ in {
key = config.age.secrets.syncthing-key.path;
settings = {
inherit ((import ../lib).syncthing) devices;
folders = let
cloud-dir = "${config.users.users.me.home}/cloud";
in {
"${config.users.users.me.home}/sync".devices = ["kabsa" "manakish" "fatteh"];
"${config.users.users.me.home}/tmp".devices = ["kabsa" "manakish" "fatteh" "heym"];
"${cloud-dir}/syncthing/mundoiu".devices = ["kabsa" "manakish" "heym" "fatteh"];
"${cloud-dir}/syncthing/music" = {
devices = ["kabsa" "manakish" "heym" "zaatar" "fatteh"];
id = "music";
folders = {
"${config.users.users.me.home}/sync" = {
devices = ["kabsa" "manakish" "fatteh"];
label = "sync";
};
"${config.users.users.me.home}/mobile" = {
devices = ["kabsa" "manakish" "fatteh" "heym"];
id = "mobile";
label = "mobile";
};
};
};
Expand Down

0 comments on commit 7484955

Please sign in to comment.