Setup radarr and sonarr on torrent host
This commit is contained in:
parent
2085dfb783
commit
2733d28a99
13 changed files with 245 additions and 1 deletions
config/hosts/torrent
29
config/hosts/torrent/configuration.nix
Normal file
29
config/hosts/torrent/configuration.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "torrent";
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/mnt/media" = {
|
||||
device = "//10.202.100.5/media";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"username=torrent"
|
||||
"credentials=/secrets/torrent-samba-credentials.secret"
|
||||
"iocharset=utf8"
|
||||
"vers=3.1.1"
|
||||
"uid=torrent"
|
||||
"gid=torrent"
|
||||
"_netdev"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue