various fixes
This commit is contained in:
parent
1b256f94ae
commit
9807867573
3 changed files with 25 additions and 5 deletions
|
@ -15,7 +15,7 @@ in
|
||||||
config = mkIf cfg.enable
|
config = mkIf cfg.enable
|
||||||
{
|
{
|
||||||
user.packages = attrValues {
|
user.packages = attrValues {
|
||||||
inherit (pkgs) webcord teamspeak_client;
|
inherit (pkgs) vesktop teamspeak_client whatsapp-for-linux;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,16 +22,31 @@ in {
|
||||||
"--enable-features=AcceleratedVideoEncoder"
|
"--enable-features=AcceleratedVideoEncoder"
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
"--enable-zero-copy"
|
"--enable-zero-copy"
|
||||||
|
"--ozone-platform-hint=auto"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enablePlasmaBrowserIntegration = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm"
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # UBlock origin
|
||||||
"eimadpbcbfnmbkopoojfekhnkhdbieeh"
|
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark reader
|
||||||
];
|
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
|
||||||
|
];
|
||||||
|
defaultSearchProviderEnabled = true;
|
||||||
|
defaultSearchProviderSearchURL = "https://duckduckgo.com?q={searchTerms}";
|
||||||
|
extraOpts = {
|
||||||
|
"BrowserSignin" = 0;
|
||||||
|
"SyncDisabled" = true;
|
||||||
|
"PasswordManagerEnabled" = false;
|
||||||
|
"SpellcheckEnabled" = true;
|
||||||
|
"SpellcheckLanguage" = [
|
||||||
|
"nl-NL"
|
||||||
|
"en-GB"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,9 @@ in
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
"ping.kruining.eu".extraConfig = ''
|
||||||
|
respond "OK"
|
||||||
|
'';
|
||||||
"media.kruining.eu".extraConfig = ''
|
"media.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:9494
|
reverse_proxy http://127.0.0.1:9494
|
||||||
'';
|
'';
|
||||||
|
@ -105,7 +108,7 @@ in
|
||||||
"indexer.kruining.eu".extraConfig = ''
|
"indexer.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:9696
|
reverse_proxy http://127.0.0.1:9696
|
||||||
'';
|
'';
|
||||||
"torrentss.kruining.eu".extraConfig = ''
|
"torrents.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:58080
|
reverse_proxy http://127.0.0.1:58080
|
||||||
'';
|
'';
|
||||||
"usenet.kruining.eu".extraConfig = ''
|
"usenet.kruining.eu".extraConfig = ''
|
||||||
|
@ -120,6 +123,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
modules.virtualisation = {
|
modules.virtualisation = {
|
||||||
enable = true;
|
enable = true;
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue