forked from pub-solar/os
77a635348f
sound.mediaKeys doesn't work with pulseaudio enabled, but some programs e.g. Firefox require it.
77 lines
1.6 KiB
Nix
77 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
let inherit (builtins) readFile;
|
|
in {
|
|
imports = [ ./sway ../develop ./xmonad ../networkmanager ../im ];
|
|
|
|
hardware.opengl.enable = true;
|
|
hardware.opengl.driSupport = true;
|
|
hardware.pulseaudio.enable = true;
|
|
|
|
environment = {
|
|
etc = {
|
|
"xdg/gtk-3.0/settings.ini" = {
|
|
text = ''
|
|
[Settings]
|
|
gtk-icon-theme-name=Papirus
|
|
gtk-theme-name=Adapta
|
|
gtk-cursor-theme-name=Adwaita
|
|
'';
|
|
mode = "444";
|
|
};
|
|
};
|
|
|
|
sessionVariables = {
|
|
# Theme settings
|
|
QT_QPA_PLATFORMTHEME = "gtk2";
|
|
|
|
GTK2_RC_FILES = let
|
|
gtk = ''
|
|
gtk-icon-theme-name="Papirus"
|
|
gtk-cursor-theme-name="Adwaita"
|
|
'';
|
|
in [
|
|
("${pkgs.writeText "iconrc" "${gtk}"}")
|
|
"${pkgs.adapta-gtk-theme}/share/themes/Adapta/gtk-2.0/gtkrc"
|
|
"${pkgs.gnome3.gnome-themes-extra}/share/themes/Adwaita/gtk-2.0/gtkrc"
|
|
];
|
|
};
|
|
|
|
systemPackages = with pkgs; [
|
|
pulsemixer
|
|
adapta-gtk-theme
|
|
cursor
|
|
dzen2
|
|
feh
|
|
ffmpeg-full
|
|
firefox
|
|
qt5.qtgraphicaleffects
|
|
gnome3.adwaita-icon-theme
|
|
gnome3.networkmanagerapplet
|
|
gnome-themes-extra
|
|
imagemagick
|
|
imlib2
|
|
librsvg
|
|
libsForQt5.qtstyleplugins
|
|
papirus-icon-theme
|
|
sddm-chili
|
|
zathura
|
|
xsel
|
|
];
|
|
};
|
|
|
|
services.xbanish.enable = true;
|
|
|
|
services.gnome3.gnome-keyring.enable = true;
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
|
|
libinput.enable = true;
|
|
|
|
displayManager.sddm = {
|
|
enable = true;
|
|
theme = "chili";
|
|
};
|
|
};
|
|
}
|