2021-02-02 20:10:25 +01:00
|
|
|
{ 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
|
|
|
|
];
|
|
|
|
|
|
|
|
home.file.".xmonad/xmonad.hs".source = let
|
|
|
|
vars = {
|
2021-02-02 20:10:25 +01:00
|
|
|
xmobar = "${nixpkgs.xmobar}/bin/xmobar";
|
2021-01-24 17:43:50 +01:00
|
|
|
xmobarConfig = ./xmobarrc;
|
2021-02-02 20:10:25 +01:00
|
|
|
screenshot = "${custom.screenshot}/bin/screenshot";
|
2021-01-24 17:43:50 +01:00
|
|
|
};
|
|
|
|
in with rlib; substitute nixpkgs.runCommandNoCCLocal "xmonad.hs" ./xmonad.hs vars;
|
|
|
|
}
|