forked from colonelpanic/dotfiles
38 lines
904 B
Nix
38 lines
904 B
Nix
|
{ config, pkgs, options, inputs, ... }:
|
||
|
{
|
||
|
nixpkgs.overlays = with inputs; [
|
||
|
xmonad.overlay
|
||
|
xmonad-contrib.overlay
|
||
|
notifications-tray-icon.overlay
|
||
|
(import ../dotfiles/config/xmonad/overlay.nix)
|
||
|
] ++ taffybar.overlays;
|
||
|
|
||
|
services.xserver = {
|
||
|
windowManager = {
|
||
|
session = [
|
||
|
{
|
||
|
name = "xmonad";
|
||
|
start = ''
|
||
|
/usr/bin/env imalison-xmonad &
|
||
|
waitPID=$!
|
||
|
'';
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
# Haskell Desktop
|
||
|
haskellPackages.xmonad
|
||
|
haskellPackages.imalison-xmonad
|
||
|
haskellPackages.notifications-tray-icon
|
||
|
haskellPackages.gtk-sni-tray
|
||
|
haskellPackages.status-notifier-item
|
||
|
haskellPackages.dbus-hslogger
|
||
|
];
|
||
|
|
||
|
home-manager.useGlobalPkgs = true;
|
||
|
home-manager.useUserPackages = true;
|
||
|
home-manager.users.imalison = (import ./home-manager.nix) inputs;
|
||
|
}
|