dotfiles/nixos/hm-modules/i3/default.nix
2021-01-18 20:24:07 +01:00

21 lines
525 B
Nix

inputs:
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, rlib }:
hostname:
{ config, lib, pkgs, ... }:
{
home.packages = (with nixpkgs-unstable; [
i3status-rust
]) ++ (with nixpkgs; [
font-awesome
dejavu_fonts
feh
]) ++ (with custom; [
screenshot
]);
home.file = {
".config/i3/config".text = (import ./config.nix { inherit hostname pkgs; screenshot = custom.screenshot; }).config;
".config/i3/status.toml".text = (import ./status.toml.nix { inherit hostname pkgs; }).config;
};
}