nixos-config/gnome3.nix

103 lines
2.2 KiB
Nix
Raw Normal View History

2015-05-21 14:13:47 +00:00
{ config, pkgs, ... }:
{
2020-09-18 15:32:50 +00:00
imports = [
./pulseaudio.nix
];
i18n.inputMethod = {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [ mozc table-others m17n ];
};
2015-05-21 14:13:47 +00:00
2015-09-01 12:16:20 +00:00
environment.systemPackages = with pkgs; [
2015-05-21 14:13:47 +00:00
gnome3.libgweather
2020-09-18 15:32:50 +00:00
gnome3.gnome-tweak-tool
pavucontrol
paprefs
2015-05-21 14:13:47 +00:00
];
fonts = {
2020-09-18 15:32:50 +00:00
enableDefaultFonts = false;
fontconfig = {
allowBitmaps = false;
};
2015-05-21 14:13:47 +00:00
fonts = with pkgs; [
2022-02-04 16:10:31 +00:00
# xorg.fontbhlucidatypewriter100dpi
# xorg.fontbhlucidatypewriter75dpi
# freefont_ttf
2020-09-18 15:32:50 +00:00
gyre-fonts # TrueType substitutes for standard PostScript fonts
2022-02-04 16:10:31 +00:00
# xorg.fontbh100dpi
# xorg.fontmiscmisc
# xorg.fontcursormisc
2015-05-21 14:13:47 +00:00
unifont
2020-09-18 15:32:50 +00:00
noto-fonts-emoji
noto-fonts-cjk
2022-03-20 13:58:40 +00:00
cantarell-fonts # from gnome3 module
2020-09-18 15:32:50 +00:00
merriweather
merriweather-sans
open-sans
# libertine # breaks 
dejavu_fonts
liberation_ttf
2015-05-21 14:13:47 +00:00
ubuntu_font_family
2020-09-18 15:32:50 +00:00
wqy_microhei
ipafont
ipaexfont
source-han-serif
source-han-sans
inconsolata
iosevka
fira fira-mono fira-code
source-code-pro
2022-02-04 16:10:31 +00:00
stix-two
2020-09-18 15:32:50 +00:00
font-awesome_5
2015-05-21 14:13:47 +00:00
];
};
2020-09-18 15:32:50 +00:00
# prevent satanic torture
programs.qt5ct.enable = true;
hardware.uinput.enable = true;
users.extraUsers.gebner.extraGroups = [ "input" "tty" "audio" "video" "uinput" ];
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
};
services.blueman.enable = true;
programs.gnupg = {
agent.enable = true;
agent.pinentryFlavor = "gnome3";
};
services.xserver = {
enable = true;
libinput.enable = true;
displayManager.gdm.enable = true;
displayManager.defaultSession = "gnome";
desktopManager.gnome3 = {
enable = true;
};
};
# rust winit's wayland support is broken for input methods
environment.sessionVariables.WINIT_UNIX_BACKEND = "x11";
# services.xserver.enable = true;
# services.xserver.displayManager.gdm.enable = true;
# services.xserver.displayManager.desktopManagerHandlesLidAndPower = false;
# services.xserver.layout = "us";
# services.xserver.xkbVariant = "altgr-intl";
# services.xserver.xkbOptions = "caps:ctrl_modifier";
2015-05-21 14:13:47 +00:00
}