cleanup stuff

This commit is contained in:
Ingolf Wagner 2023-05-07 02:28:37 +02:00
parent 51bccd5b74
commit d3ea3da9f3
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 20 additions and 5 deletions

View file

@ -88,5 +88,10 @@
#home-manager.users.mailUser.home.stateVersion = "22.11";
system.custom.mainUser = {
enable = true;
userName = "palo";
};
users.users.mainUser.extraGroups = [ "media" ];
}

View file

@ -24,5 +24,13 @@
services.permown."/media" = {
owner = "media";
group = "media";
directory-mode = "770";
file-mode = "770";
};
services.permown."/robi" = {
owner = "media";
group = "media";
directory-mode = "770";
file-mode = "770";
};
}

View file

@ -4,5 +4,7 @@
environment.systemPackages = [
pkgs.mediainfo
pkgs.youtube-dl
pkgs.mnamer
pkgs.mc
];
}

View file

@ -23,11 +23,11 @@
src = "root@robi:/var/lib/bitwarden_rs/";
dst = "/services/bitwarden_rs";
};
media = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/media/syncthing/media/";
dst = "/robi/media";
};
#media = {
# sshKeyPath = config.sops.secrets.rsync_private_key.path;
# src = "root@robi:/media/syncthing/media/";
# dst = "/robi/media";
#};
torrent = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/media/torrent/downloads/";