pub-solar-os/profiles/graphical/default.nix

70 lines
1.4 KiB
Nix
Raw Normal View History

2019-12-16 07:54:46 +00:00
{ config, pkgs, ... }:
2020-01-04 05:06:31 +00:00
let inherit (builtins) readFile;
in {
2020-06-09 16:36:38 +00:00
imports = [ ./sway ../develop ./xmonad ];
2019-12-16 07:54:46 +00:00
2019-12-18 01:53:29 +00:00
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
2020-01-01 23:26:40 +00:00
hardware.pulseaudio.enable = true;
2019-12-18 01:53:29 +00:00
2019-12-16 07:54:46 +00:00
environment = {
etc = {
"xdg/gtk-3.0/settings.ini" = {
text = ''
[ Settings ]
gtk-icon-theme-name=Papirus-Adapta
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-Adapta"
gtk-cursor-theme-name="Adwaita"
'';
2020-01-04 05:06:31 +00: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 07:54:46 +00:00
};
systemPackages = with pkgs; [
adapta-gtk-theme
cursor
dzen2
feh
ffmpeg-full
2019-12-18 06:43:13 +00:00
firefox
2019-12-16 07:54:46 +00:00
gnome3.adwaita-icon-theme
gnome-themes-extra
imagemagick
imlib2
librsvg
libsForQt5.qtstyleplugins
papirus-icon-theme
2019-12-18 06:33:06 +00:00
sddm-chili
2019-12-16 07:54:46 +00:00
zathura
];
};
2020-06-09 16:36:38 +00:00
services.xbanish.enable = true;
2019-12-18 06:33:06 +00:00
services.xserver = {
enable = true;
desktopManager.plasma5.enable = true;
displayManager.sddm = {
enable = true;
theme = "chili";
};
};
2019-12-16 07:54:46 +00:00
}