2019-12-16 08:54:46 +01:00
|
|
|
{ config, pkgs, ... }:
|
2020-01-04 06:06:31 +01:00
|
|
|
let inherit (builtins) readFile;
|
|
|
|
in {
|
2020-06-09 18:36:38 +02:00
|
|
|
imports = [ ./sway ../develop ./xmonad ];
|
2019-12-16 08:54:46 +01:00
|
|
|
|
2019-12-18 02:53:29 +01:00
|
|
|
hardware.opengl.enable = true;
|
|
|
|
hardware.opengl.driSupport = true;
|
2020-06-17 22:23:37 +02:00
|
|
|
hardware.pulseaudio.enable = false;
|
2019-12-18 02:53:29 +01:00
|
|
|
|
2019-12-16 08:54:46 +01:00
|
|
|
environment = {
|
|
|
|
etc = {
|
|
|
|
"xdg/gtk-3.0/settings.ini" = {
|
|
|
|
text = ''
|
2020-06-14 20:39:10 +02:00
|
|
|
[Settings]
|
|
|
|
gtk-icon-theme-name=Papirus
|
2019-12-16 08:54:46 +01:00
|
|
|
gtk-theme-name=Adapta
|
|
|
|
gtk-cursor-theme-name=Adwaita
|
|
|
|
'';
|
|
|
|
mode = "444";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sessionVariables = {
|
|
|
|
# Theme settings
|
|
|
|
QT_QPA_PLATFORMTHEME = "gtk2";
|
2020-06-14 20:39:10 +02:00
|
|
|
|
2019-12-16 08:54:46 +01:00
|
|
|
GTK2_RC_FILES = let
|
|
|
|
gtk = ''
|
2020-06-14 20:39:10 +02:00
|
|
|
gtk-icon-theme-name="Papirus"
|
2019-12-16 08:54:46 +01:00
|
|
|
gtk-cursor-theme-name="Adwaita"
|
|
|
|
'';
|
2020-01-04 06:06:31 +01:00
|
|
|
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"
|
|
|
|
];
|
2019-12-16 08:54:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
adapta-gtk-theme
|
|
|
|
cursor
|
|
|
|
dzen2
|
|
|
|
feh
|
2019-12-31 02:42:36 +01:00
|
|
|
ffmpeg-full
|
2019-12-18 07:43:13 +01:00
|
|
|
firefox
|
2020-06-14 20:41:00 +02:00
|
|
|
libsForQt5.plasma-framework
|
|
|
|
libsForQt5.kdeclarative
|
|
|
|
qt5.qtgraphicaleffects
|
|
|
|
plasma-workspace
|
2019-12-16 08:54:46 +01:00
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gnome-themes-extra
|
|
|
|
imagemagick
|
|
|
|
imlib2
|
|
|
|
librsvg
|
|
|
|
libsForQt5.qtstyleplugins
|
|
|
|
papirus-icon-theme
|
2019-12-18 07:33:06 +01:00
|
|
|
sddm-chili
|
2019-12-16 08:54:46 +01:00
|
|
|
zathura
|
2020-06-09 21:05:32 +02:00
|
|
|
xsel
|
2019-12-16 08:54:46 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2020-06-09 18:36:38 +02:00
|
|
|
services.xbanish.enable = true;
|
|
|
|
|
2019-12-18 07:33:06 +01:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
2020-06-13 02:44:32 +02:00
|
|
|
libinput.enable = true;
|
|
|
|
|
2019-12-18 07:33:06 +01:00
|
|
|
displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
theme = "chili";
|
|
|
|
};
|
|
|
|
};
|
2019-12-16 08:54:46 +01:00
|
|
|
}
|