dotfiles/nix/home-manager/modules/xmonad/default.nix
Richard Brežák c98b2af55e Inputs in rlib modules and Nomad NixOS module
Signed-off-by: Richard Brežák <rbrezak@qualityunit.com>
2021-03-08 21:35:29 +01:00

22 lines
569 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib, inputs }:
{ 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";
};
};
}