nixos-config/modules/graphical.nix

74 lines
1.8 KiB
Nix
Raw Normal View History

2020-09-18 13:54:09 +00:00
{ config, pkgs, ... }:
{
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-12-25 17:32:29 +00:00
(vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-deno";
publisher = "denoland";
version = "2.3.3";
sha256 = "1sirni7hamwp0dld5l8qw7jfrjxf3pvsmjrx14zvg2bwwrv4p0m6";
};
})
2020-09-24 05:45:48 +00:00
];
})
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; };
};
};
})
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-12-19 21:58:33 +00:00
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xmodmap}/bin/xmodmap -e "remove Lock = Caps_Lock"
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keysym Caps_Lock = F13"
'';
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
}