mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +01:00
20 lines
505 B
Nix
20 lines
505 B
Nix
|
inputs:
|
||
|
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, rlib }:
|
||
|
hostname:
|
||
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
home.packages = with nixpkgs; [
|
||
|
powerline-fonts
|
||
|
font-awesome
|
||
|
dejavu_fonts
|
||
|
];
|
||
|
|
||
|
home.file.".xmonad/xmonad.hs".source = let
|
||
|
vars = {
|
||
|
xmobar = rlib.binPath nixpkgs.xmobar "xmobar";
|
||
|
xmobarConfig = ./xmobarrc;
|
||
|
screenshot = rlib.binPath custom.screenshot "screenshot";
|
||
|
};
|
||
|
in with rlib; substitute nixpkgs.runCommandNoCCLocal "xmonad.hs" ./xmonad.hs vars;
|
||
|
}
|