cleanup stuff
This commit is contained in:
parent
51bccd5b74
commit
d3ea3da9f3
4 changed files with 20 additions and 5 deletions
|
@ -88,5 +88,10 @@
|
|||
|
||||
#home-manager.users.mailUser.home.stateVersion = "22.11";
|
||||
|
||||
system.custom.mainUser = {
|
||||
enable = true;
|
||||
userName = "palo";
|
||||
};
|
||||
users.users.mainUser.extraGroups = [ "media" ];
|
||||
}
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
environment.systemPackages = [
|
||||
pkgs.mediainfo
|
||||
pkgs.youtube-dl
|
||||
pkgs.mnamer
|
||||
pkgs.mc
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue