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