Compare commits

..

3 commits

Author SHA1 Message Date
7c60a88eb3
Enabled Chromium DRM with WideVine
Some checks failed
/ Check Nix Flake (push) Failing after 2m0s
2025-07-09 13:51:05 +02:00
815ba136b2
Fixed Brave Search-Engine 2025-07-09 13:50:45 +02:00
9df45430cc
Decreased Swap Space 2025-07-09 13:50:25 +02:00
3 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,7 @@
{
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
package = pkgs.ungoogled-chromium.override { enableWideVine = true; };
commandLineArgs = [
"--extension-mime-request-handling=always-prompt-for-install" # Enable Extension-Install Dialogue
"--enable-features=ClearDataOnExit,NoReferrers,SpoofWebGLInfo" # Feature Flags

View file

@ -39,8 +39,9 @@ in {
SearchEngines.Add = [ # Only Available in ESR Releases https://mozilla.github.io/policy-templates/#searchengines--add
{
Name = "Brave";
URLTemplate = "https://search.brave.com/search?q={SearchTerms}";
URLTemplate = "https://search.brave.com/search?q={searchTerms}";
Alias = "br";
IconURL = "https://cdn.search.brave.com/serp/v3/_app/immutable/assets/brave-search-icon.CsIFM2aN.svg";
}
];
# Extensions https://mozilla.github.io/policy-templates#extensionsettings

View file

@ -41,7 +41,7 @@ in {
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ { device = "/swapfile"; size = 8 * 1024; } ];
swapDevices = [ { device = "/swapfile"; size = 4 * 1024; } ];
# Misc
networking.useDHCP = lib.mkDefault true;