]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/graphical.nix
perf: add to essential profile
[julm/julm-nix.git] / home-manager / profiles / graphical.nix
1 { pkgs, lib, config, nixosConfig, ... }:
2 {
3 imports = [
4 ./redshift.nix
5 ];
6 gtk.enable = true;
7 home.packages = [
8 pkgs.arandr
9 pkgs.glib.bin
10 pkgs.glxinfo
11 pkgs.gnome.dconf-editor
12 pkgs.hicolor-icon-theme
13 pkgs.pavucontrol
14 pkgs.qpwgraph
15 pkgs.x2goclient
16 pkgs.xclip
17 pkgs.xorg.xkill
18 ];
19 #services.gnome.at-spi2-core.enable = true;
20 home.sessionVariables = lib.mkIf (!nixosConfig.services.gnome.at-spi2-core.enable) {
21 NO_AT_BRIDGE = "1";
22 };
23 services.redshift.enable = lib.mkDefault true;
24 home.file.".Xmodmap".text = ''
25 ! œ and Œ with AltGr+o and AltGr+Shift+o
26 keycode 32 = o O o O oe OE
27 '';
28 systemd.user.services.setxkbmap.Service.ExecStartPost =
29 "${pkgs.xorg.xmodmap}/bin/xmodmap ${config.home.homeDirectory}/.Xmodmap";
30 }