2023-06-28 21:45:08 -06:00
|
|
|
{ config, pkgs, options, inputs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./fonts.nix
|
2023-06-29 00:49:50 -06:00
|
|
|
inputs.home-manager.nixosModule
|
2023-06-28 21:45:08 -06:00
|
|
|
];
|
|
|
|
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)
|
2023-06-28 21:45:08 -06:00
|
|
|
] ++ 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
|
|
|
|
numix-icon-theme-circle
|
|
|
|
papirus-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
|
|
|
|
# XOrg
|
|
|
|
autorandr
|
|
|
|
wmctrl
|
|
|
|
xclip
|
|
|
|
xdotool
|
|
|
|
xorg.xev
|
|
|
|
xorg.xkbcomp
|
|
|
|
xorg.xwininfo
|
|
|
|
xsettingsd
|
|
|
|
|
|
|
|
# Haskell Desktop
|
|
|
|
haskellPackages.xmonad
|
|
|
|
haskellPackages.imalison-xmonad
|
|
|
|
# haskellPackages.notifications-tray-icon
|
|
|
|
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-28 22:27:09 -06:00
|
|
|
];
|
2023-06-29 00:49:50 -06:00
|
|
|
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.imalison = (import ./home-manager.nix) inputs;
|
2023-06-28 21:45:08 -06:00
|
|
|
}
|