53 lines
1.4 KiB
Nix
53 lines
1.4 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
users.mutableUsers = false;
|
|
users.users.c3h = {
|
|
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;
|
|
displayManager.autoLogin.user = "c3h";
|
|
|
|
desktopManager.mate.enable = true;
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|