dotfiles/nixos/desktop.nix

109 lines
1.9 KiB
Nix
Raw Normal View History

2024-05-11 23:42:45 -06:00
{ config, pkgs, makeEnable, ... }:
2024-09-26 14:15:27 -06:00
makeEnable config "myModules.desktop" true {
imports = [
./fonts.nix
];
services.xserver = {
exportConfiguration = true;
enable = true;
2024-03-14 19:32:11 -06:00
xkb = {
layout = "us";
};
displayManager = {
sessionCommands = ''
systemctl --user import-environment GDK_PIXBUF_MODULE_FILE DBUS_SESSION_BUS_ADDRESS PATH
'';
setupCommands = ''
autorandr -c
systemctl restart autorandr.service
'';
};
};
2023-06-28 22:27:09 -06:00
services.autorandr = {
enable = true;
};
# This is for the benefit of VSCODE running natively in wayland
2023-06-28 22:28:41 -06:00
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services.gnome.at-spi2-core.enable = true;
services.gnome.gnome-keyring.enable = true;
2023-06-28 22:27:09 -06:00
environment.systemPackages = with pkgs; [
# Appearance
2024-08-11 17:52:53 -06:00
adwaita-icon-theme
2023-06-29 13:54:38 -06:00
hicolor-icon-theme
libsForQt5.breeze-gtk
2023-11-24 22:08:02 -07:00
# materia-theme
2023-06-28 22:27:09 -06:00
numix-icon-theme-circle
papirus-icon-theme
# XOrg
autorandr
wmctrl
xclip
xdotool
xorg.xev
xorg.xkbcomp
xorg.xwininfo
xsettingsd
# Desktop
alacritty
blueman
clipit
2024-03-12 00:08:32 -06:00
d-spy
2023-06-28 22:27:09 -06:00
dolphin
2023-06-28 22:27:09 -06:00
feh
firefox
2024-08-11 17:52:53 -06:00
cheese
gpaste
2023-06-28 22:27:09 -06:00
kleopatra
libnotify
2023-09-15 12:48:50 -06:00
libreoffice
2023-06-28 22:27:09 -06:00
lxappearance
lxqt.lxqt-powermanagement
networkmanagerapplet
notify-osd-customizable
okular
pinentry
mission-center
2023-06-28 22:27:09 -06:00
quassel
2023-07-28 17:31:05 -06:00
remmina
2023-06-28 22:27:09 -06:00
rofi
rofi-pass
rofi-systemd
2023-07-28 11:58:43 -06:00
shutter
2023-06-28 22:27:09 -06:00
simplescreenrecorder
skippy-xd
synergy
transmission_3-gtk
2023-06-28 22:27:09 -06:00
vlc
volnoti
xfce.thunar
2023-06-28 23:40:34 -06:00
# Audio
2023-08-20 16:36:22 -06:00
picard
2023-06-28 23:40:34 -06:00
playerctl
2023-06-29 13:37:48 -06:00
pulsemixer
2023-07-01 19:28:53 -06:00
espeak
2023-08-07 21:52:33 -06:00
# Visualization
2023-08-07 21:52:33 -06:00
graphviz
nodePackages.mermaid-cli
] ++ (if pkgs.system == "x86_64-linux" then with pkgs; [
2023-08-19 14:55:09 -06:00
google-chrome
pommed_light
slack
spicetify-cli
spotify
tor-browser-bundle-bin
vscode
2024-06-12 21:09:50 -06:00
zulip
2023-08-19 14:55:09 -06:00
] else []);
}