os/profiles/graphical/default.nix

92 lines
1.7 KiB
Nix
Raw Normal View History

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