stuff
This commit is contained in:
parent
914b545af1
commit
4f71dadd01
|
@ -104,7 +104,7 @@
|
||||||
type = "zfs_fs";
|
type = "zfs_fs";
|
||||||
mountpoint = "/home";
|
mountpoint = "/home";
|
||||||
};
|
};
|
||||||
src = {
|
srv = {
|
||||||
type = "zfs_fs";
|
type = "zfs_fs";
|
||||||
mountpoint = "/srv";
|
mountpoint = "/srv";
|
||||||
};
|
};
|
||||||
|
|
|
@ -35,7 +35,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
# 1gb of memory
|
# 1gb of memory
|
||||||
microvm.mem = 1024;
|
microvm.mem = 1024;
|
||||||
|
|
||||||
microvm.shares = [
|
microvm.shares = [
|
||||||
{
|
{
|
||||||
|
@ -186,7 +186,7 @@ in {
|
||||||
services.transmission = {
|
services.transmission = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = false;
|
openFirewall = false;
|
||||||
settings.rpc-port = 9091;
|
home = "/mnt/transmission";
|
||||||
settings.download-dir = "/mnt/transmission";
|
settings.download-dir = "/mnt/transmission";
|
||||||
settings.incomplete-dir = "/mnt/transmission/.incomplete";
|
settings.incomplete-dir = "/mnt/transmission/.incomplete";
|
||||||
downloadDirPermissions = "775";
|
downloadDirPermissions = "775";
|
||||||
|
@ -194,7 +194,7 @@ in {
|
||||||
|
|
||||||
# debugging
|
# debugging
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
password = "1234";
|
password = "supersecretpassword";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
@ -276,6 +276,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [port 7979 9696 80 433];
|
networking.firewall.allowedTCPPorts = [port 9117 7878 9696 80 433];
|
||||||
networking.firewall.allowedUDPPorts = [port 7979 9696 80 433];
|
networking.firewall.allowedUDPPorts = [port 9117 7878 9696 80 433];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue