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
|
||||
{
|
||||
user.packages = attrValues {
|
||||
inherit (pkgs) webcord teamspeak_client;
|
||||
inherit (pkgs) vesktop teamspeak_client whatsapp-for-linux;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,16 +22,31 @@ in {
|
|||
"--enable-features=AcceleratedVideoEncoder"
|
||||
"--ignore-gpu-blocklist"
|
||||
"--enable-zero-copy"
|
||||
"--ozone-platform-hint=auto"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
enablePlasmaBrowserIntegration = true;
|
||||
extensions = [
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm"
|
||||
"eimadpbcbfnmbkopoojfekhnkhdbieeh"
|
||||
];
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # UBlock origin
|
||||
"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 = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"ping.kruining.eu".extraConfig = ''
|
||||
respond "OK"
|
||||
'';
|
||||
"media.kruining.eu".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:9494
|
||||
'';
|
||||
|
@ -105,7 +108,7 @@ in
|
|||
"indexer.kruining.eu".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:9696
|
||||
'';
|
||||
"torrentss.kruining.eu".extraConfig = ''
|
||||
"torrents.kruining.eu".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:58080
|
||||
'';
|
||||
"usenet.kruining.eu".extraConfig = ''
|
||||
|
@ -120,6 +123,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
modules.virtualisation = {
|
||||
enable = true;
|
||||
podman.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue