c3h-nixfiles/shared-services/desktop.nix

48 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2021-08-21 16:47:21 +00:00
{ pkgs, ... }:
{
2021-10-24 20:43:11 +00:00
users.users.c3h.packages = with pkgs; [ chromium firefox mpv youtube-dl ];
2021-08-21 16:47:21 +00:00
services.xserver = {
enable = true;
layout = "de";
videoDrivers = [ "modesetting" ];
useGlamor = true;
displayManager.lightdm.enable = true;
displayManager.autoLogin.enable = true;
2021-09-19 13:40:01 +00:00
displayManager.autoLogin.user = "c3h";
2021-08-21 16:47:21 +00:00
desktopManager.mate.enable = true;
};
2021-10-22 19:56:03 +00:00
programs.chromium = {
enable = true;
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
];
extraOpts = {
DefaultSearchProviderEnabled = true;
DefaultSearchProviderName = "DuckDuckGo";
DefaultSearchProviderIconURL = "https://duckduckgo.com/favicon.ico";
DefaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
DefaultSearchProviderSuggestURL = "https://duckduckgo.com/ac/?q={searchTerms}&type=list";
DefaultBrowserSettingEnabled = false;
BlockThirdPartyCookies = true;
BrowserSignin = 0;
SyncDisabled = true;
PasswordManagerEnabled = false;
# Send less data to Google
SafeBrowsingProtectionLevel = 0;
UrlKeyedAnonymizedDataCollectionEnabled = false;
SafeBrowsingExtendedReportingEnabled = false;
SpellCheckServiceEnabled = false;
AdvancedProtectionAllowed = false;
};
};
2021-08-21 16:47:21 +00:00
}