dotfiles/nixos/desktop.nix

131 lines
2.4 KiB
Nix
Raw Normal View History

{ config, pkgs, options, inputs, ... }:
{
imports = [
./fonts.nix
inputs.home-manager.nixosModule
];
nixpkgs.overlays = with inputs; [
xmonad.overlay
xmonad-contrib.overlay
notifications-tray-icon.overlay
2023-06-28 22:27:09 -06:00
(import ../dotfiles/config/xmonad/overlay.nix)
] ++ taffybar.overlays;
services.autorandr.enable = true;
services.xserver = {
exportConfiguration = true;
enable = true;
layout = "us";
desktopManager = {
plasma5.enable = true;
};
windowManager = {
session = [
{
name = "xmonad";
start = ''
/usr/bin/env imalison-xmonad &
waitPID=$!
'';
}
];
};
displayManager = {
sddm = {
enable = true;
};
sessionCommands = ''
systemctl --user import-environment GDK_PIXBUF_MODULE_FILE DBUS_SESSION_BUS_ADDRESS PATH
'';
};
};
2023-06-28 22:27:09 -06:00
2023-06-28 22:28:41 -06:00
environment.sessionVariables.NIXOS_OZONE_WL = "1";
2023-06-28 22:27:09 -06:00
environment.systemPackages = with pkgs; [
# Appearance
2023-06-29 13:54:38 -06:00
gnome.adwaita-icon-theme
hicolor-icon-theme
libsForQt5.breeze-gtk
materia-theme
2023-06-28 22:27:09 -06:00
numix-icon-theme-circle
papirus-icon-theme
2023-06-29 13:54:38 -06:00
tela-icon-theme
tela-circle-icon-theme
2023-06-28 22:27:09 -06:00
# XOrg
autorandr
wmctrl
xclip
xdotool
xorg.xev
xorg.xkbcomp
xorg.xwininfo
xsettingsd
# Haskell Desktop
haskellPackages.xmonad
haskellPackages.imalison-xmonad
2023-06-29 13:54:38 -06:00
haskellPackages.notifications-tray-icon
2023-06-28 22:27:09 -06:00
haskellPackages.gtk-sni-tray
haskellPackages.status-notifier-item
haskellPackages.dbus-hslogger
# Desktop
alacritty
betterlockscreen
blueman
clipit
dfeet
discord
dolphin
element-desktop
emacs
feh
firefox
gitter
gnome.cheese
gnome.gpaste
google-chrome
hexchat
keybase-gui
kitty
kleopatra
libnotify
libreoffice
lxappearance
lxqt.lxqt-powermanagement
networkmanagerapplet
notify-osd-customizable
okular
pasystray
picom
pinentry
quassel
rofi
rofi-pass
rofi-systemd
simplescreenrecorder
skippy-xd
slack
spotify
synergy
transmission-gtk
2023-06-28 22:28:41 -06:00
vscode
2023-06-28 22:27:09 -06:00
vlc
volnoti
wire-desktop
xfce.thunar
2023-06-28 22:47:40 -06:00
# zoom-us
2023-06-28 23:40:34 -06:00
# Audio
playerctl
2023-06-29 13:37:48 -06:00
pulsemixer
2023-06-28 22:27:09 -06:00
];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.imalison = (import ./home-manager.nix) inputs;
}