nixos-config/modules/graphical.nix

60 lines
1.4 KiB
Nix
Raw Normal View History

2020-12-29 04:05:45 +00:00
{ pkgs, ... }:
2020-09-18 13:54:09 +00:00
{
2020-09-24 05:45:48 +00:00
environment.systemPackages = with pkgs; [
brave
gimp
mpv
libreoffice
tdesktop
pavucontrol
gnome3.dconf-editor
glxinfo
steam-run
discord
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
(vscode-with-extensions.override {
vscode = vscodium;
vscodeExtensions = with pkgs.vscode-extensions; [
bbenoist.Nix
ms-python.python
ms-vscode.cpptools
ms-azuretools.vscode-docker
];
})
2020-09-18 13:54:09 +00:00
2020-12-21 06:00:30 +00:00
(wrapFirefox firefox-unwrapped {
extraPolicies = {
CaptivePortal = false;
DisablePocket = true;
DisableFirefoxStudies = true;
OfferToSaveLogins = false;
DisableFormHistory = true;
SearchSuggestEnabled = false;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
Preferences = {
"extensions.formautofill.available" = { Status = "locked"; Value = "off"; };
"network.cookie.cookieBehavior" = { Status = "locked"; Value = 4; };
"network.IDN_show_punycode" = { Status = "locked"; Value = true; };
2021-01-11 04:44:03 +00:00
"browser.zoom.siteSpecific" = { Status = "locked"; Value = false; };
2020-12-21 06:00:30 +00:00
};
};
})
2020-09-24 05:45:48 +00:00
];
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
services.xserver.deviceSection = ''
Option "VariableRefresh" "true"
'';
2020-09-18 13:54:09 +00:00
2020-10-29 18:23:12 +00:00
programs.steam.enable = true;
hardware.pulseaudio.enable = true;
2020-09-18 13:54:09 +00:00
2020-09-24 05:45:48 +00:00
boot.loader.timeout = null;
2020-09-18 13:54:09 +00:00
}