dotfiles/nix/home-manager/modules/xmonad/default.nix
2021-02-28 18:14:01 +01:00

22 lines
561 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, lib, ... }:
{
home.packages = with nixpkgs; [
powerline-fonts
font-awesome
dejavu_fonts
];
home.file.".xmonad/xmonad.hs".source = rlib.substitute {
runCommand = nixpkgs.runCommandNoCCLocal;
name = "xmonad.hs";
inFile = ./xmonad.hs;
vars = {
xmobar = "${nixpkgs.xmobar}/bin/xmobar";
xmobarConfig = ./xmobarrc;
screenshot = "${custom.screenshot}/bin/screenshot";
dmenu_run = "${nixpkgs.dmenu}/bin/dmenu_run";
};
};
}