nixos-config/modules/graphical.nix

52 lines
1.2 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
tdesktop
pavucontrol
gnome3.dconf-editor
glxinfo
steam-run
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;
Preferences = {
"extensions.formautofill.available" = { Status = "locked"; Value = "off"; };
"browser.contentblocking.category" = { Status = "locked"; Value = "strict"; };
2020-12-21 06:00:30 +00:00
"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
programs.steam.enable = true;
2020-10-29 18:23:12 +00:00
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
}