2015-05-21 14:13:47 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2020-09-18 15:32:50 +00:00
|
|
|
imports = [
|
2022-12-31 22:30:18 +00:00
|
|
|
./pipewire.nix
|
2020-09-18 15:32:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
i18n.inputMethod = {
|
|
|
|
enabled = "ibus";
|
2023-02-27 23:51:20 +00:00
|
|
|
ibus.engines = with pkgs.ibus-engines; [ mozc table-others m17n rime ];
|
2020-09-18 15:32:50 +00:00
|
|
|
};
|
2015-05-21 14:13:47 +00:00
|
|
|
|
2015-09-01 12:16:20 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
2022-12-31 22:30:18 +00:00
|
|
|
gnome.gnome-tweaks
|
2020-09-18 15:32:50 +00:00
|
|
|
pavucontrol
|
|
|
|
paprefs
|
2022-12-31 22:30:18 +00:00
|
|
|
playerctl
|
|
|
|
xorg.xlsclients
|
2015-05-21 14:13:47 +00:00
|
|
|
];
|
|
|
|
|
2022-12-31 22:30:18 +00:00
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
|
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
|
2023-02-24 19:40:43 +00:00
|
|
|
qt.platformTheme = "qt5ct";
|
2020-09-18 15:32:50 +00:00
|
|
|
|
|
|
|
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;
|
2022-12-31 22:30:18 +00:00
|
|
|
# libinput.enable = true;
|
2020-09-18 15:32:50 +00:00
|
|
|
displayManager.gdm.enable = true;
|
2022-12-31 22:30:18 +00:00
|
|
|
# displayManager.defaultSession = "gnome";
|
2020-09-18 15:32:50 +00:00
|
|
|
|
2022-12-31 22:30:18 +00:00
|
|
|
desktopManager.gnome = {
|
2020-09-18 15:32:50 +00:00
|
|
|
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
|
|
|
}
|