dotfiles/nixos/hm-modules/xmonad/default.nix

21 lines
509 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-01-24 17:43:50 +01:00
};
2021-02-26 10:24:58 +01:00
};
2021-01-24 17:43:50 +01:00
}