Compare commits
No commits in common. "b37e0cdda51cf23357302fc44815d70905fdb7f4" and "88c2a622235e231e9ccbbd9a4f33fc6adceaaac9" have entirely different histories.
b37e0cdda5
...
88c2a62223
@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
disko.devices = {
|
|
||||||
disk = {
|
|
||||||
sda = {
|
|
||||||
type = "disk";
|
|
||||||
device = "/dev/sda";
|
|
||||||
content = {
|
|
||||||
type = "gpt";
|
|
||||||
partitions = {
|
|
||||||
luks = {
|
|
||||||
size = "100%";
|
|
||||||
content = {
|
|
||||||
type = "luks";
|
|
||||||
name = "NAS-RAID";
|
|
||||||
askPassword = true;
|
|
||||||
# disable settings.keyFile if you want to use interactive password entry
|
|
||||||
#passwordFile = "/tmp/secret.key"; # Interactive
|
|
||||||
settings = {
|
|
||||||
allowDiscards = true;
|
|
||||||
};
|
|
||||||
content = {
|
|
||||||
type = "btrfs";
|
|
||||||
extraArgs = [ "-f -L NAS-RAID" ];
|
|
||||||
subvolumes = {
|
|
||||||
"@" = {
|
|
||||||
mountpoint = "/mnt/Pluto";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
|
|
||||||
};
|
|
||||||
"@/Backups";
|
|
||||||
"@/Media";
|
|
||||||
"@/Games";
|
|
||||||
"@/IT";
|
|
||||||
"@/Rest";
|
|
||||||
"@snapshots" = {
|
|
||||||
mountpoint = "/mnt";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" "ssd" "discard=async" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -17,7 +17,7 @@
|
|||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./matrix.nix
|
./matrix.nix
|
||||||
./coturn.nix
|
./coturn.nix
|
||||||
#./jitsi.nix
|
./jitsi.nix
|
||||||
]
|
]
|
||||||
|
|
||||||
# picom, polybar and sxhkd are pulled from desktop module
|
# picom, polybar and sxhkd are pulled from desktop module
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
podman ={
|
podman ={
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
dockerCompat = true;
|
|
||||||
#defaultNetwork.settings.dns_enabled = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
services.onlyoffice = {
|
services.onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "localhost";
|
hostname = "localhost";
|
||||||
postgresName = "onlyoffice";
|
postgresName = "onlyofficedb";
|
||||||
postgresHost = "localhost";
|
postgresHost = "localhost";
|
||||||
postgresUser = "onlyoffice";
|
postgresUser = "onlyoffice";
|
||||||
postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
|
postgresPasswordFile = config.age.secrets."services/nextcloud/onlyofficedb".path;
|
||||||
@ -91,9 +91,4 @@
|
|||||||
requires = ["postgresql.service"];
|
requires = ["postgresql.service"];
|
||||||
after = ["postgresql.service"];
|
after = ["postgresql.service"];
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme.defaults.email = "webmaster@kabtop.de";
|
|
||||||
security.acme.defaults.webroot = "/var/lib/acme/acme-challenge";
|
|
||||||
security.acme.acceptTerms = true;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,9 +12,8 @@
|
|||||||
max_connections = 200;
|
max_connections = 200;
|
||||||
listen_addresses = "localhost";
|
listen_addresses = "localhost";
|
||||||
password_encryption = "scram-sha-256";
|
password_encryption = "scram-sha-256";
|
||||||
shared_buffers = "2GB";
|
shared_buffers = "512MB";
|
||||||
work_mem = "1GB";
|
work_mem = "8MB";
|
||||||
maintence_work_mem = "500MB"
|
|
||||||
autovacuum_work_mem = -1;
|
autovacuum_work_mem = -1;
|
||||||
min_wal_size = "1GB";
|
min_wal_size = "1GB";
|
||||||
max_wal_size = "4GB";
|
max_wal_size = "4GB";
|
||||||
@ -30,8 +29,7 @@
|
|||||||
host whatsappdb mautrixwa localhost scram-sha-256
|
host whatsappdb mautrixwa localhost scram-sha-256
|
||||||
host telegramdb mautrixtele localhost scram-sha-256
|
host telegramdb mautrixtele localhost scram-sha-256
|
||||||
host signaldb mautrixsignal localhost scram-sha-256
|
host signaldb mautrixsignal localhost scram-sha-256
|
||||||
host onlyoffice onlyoffice localhost scram-sha-256
|
host onlyofficedb onlyoffice localhost scram-sha-256
|
||||||
local onlyoffice onlyoffice peer
|
|
||||||
'';
|
'';
|
||||||
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
initialScript = config.age.secrets."services/postgresql/initScript.sql".path;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user