46 lines
		
	
	
		
			862 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			862 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  pkgs,
 | 
						|
  config,
 | 
						|
  flake,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
{
 | 
						|
  xsession = {
 | 
						|
    enable = true;
 | 
						|
    windowManager = {
 | 
						|
      xmonad = {
 | 
						|
        enable = true;
 | 
						|
        enableContribAndExtras = true;
 | 
						|
        extraPackages = hs: [ hs.xmobar ];
 | 
						|
        config = ./config/xmonad/xmonad.hs;
 | 
						|
        libFiles = {
 | 
						|
          "xmobar.hs" = ./config/xmonad/xmobar.hs;
 | 
						|
          "padding-icon.sh" = ./config/xmonad/padding-icon.sh;
 | 
						|
          "nixos.xpm" = ./config/xmonad/nixos.xpm;
 | 
						|
        };
 | 
						|
      };
 | 
						|
    };
 | 
						|
  };
 | 
						|
 | 
						|
  home.packages = with pkgs; [
 | 
						|
    (st.override {
 | 
						|
      patches = [ ./patches/st.patch ];
 | 
						|
      extraLibs = [ harfbuzz ];
 | 
						|
    })
 | 
						|
    xclip
 | 
						|
    xorg.xkbcomp
 | 
						|
    xorg.xmodmap
 | 
						|
    sxiv
 | 
						|
    feh
 | 
						|
    xdotool
 | 
						|
    flameshot
 | 
						|
    xmobar
 | 
						|
    stalonetray
 | 
						|
  ];
 | 
						|
 | 
						|
  home.file.stalonetray = {
 | 
						|
    source = ./config/stalonetrayrc;
 | 
						|
    target = "${config.home.homeDirectory}/.stalonetrayrc";
 | 
						|
  };
 | 
						|
}
 |