dotfiles/nix/home-manager/modules/xmonad/default.nix

22 lines
561 B
Nix
Raw Normal View History

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, lib, ... }:
2021-01-24 17:43:50 +01:00
{
home.packages = with nixpkgs; [
powerline-fonts
font-awesome
dejavu_fonts
];
2021-02-26 10:24:58 +01:00
home.file.".xmonad/xmonad.hs".source = rlib.substitute {
runCommand = nixpkgs.runCommandNoCCLocal;
name = "xmonad.hs";
inFile = ./xmonad.hs;
2021-01-24 17:43:50 +01:00
vars = {
xmobar = "${nixpkgs.xmobar}/bin/xmobar";
2021-01-24 17:43:50 +01:00
xmobarConfig = ./xmobarrc;
screenshot = "${custom.screenshot}/bin/screenshot";
2021-02-28 18:14:01 +01:00
dmenu_run = "${nixpkgs.dmenu}/bin/dmenu_run";
2021-01-24 17:43:50 +01:00
};
2021-02-26 10:24:58 +01:00
};
2021-01-24 17:43:50 +01:00
}