2021-08-21 16:47:21 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
users.mutableUsers = false;
|
2021-09-19 13:40:01 +00:00
|
|
|
users.users.c3h = {
|
2021-08-21 16:47:21 +00:00
|
|
|
isNormalUser = true;
|
|
|
|
password = "c3h";
|
|
|
|
extraGroups = [ "wheel" ];
|
|
|
|
packages = with pkgs; [ chromium firefox mpv youtube-dl ];
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
}
|