dotfiles/nixos/home-manager/modules/i3/default.nix
2021-01-10 19:51:28 +01:00

20 lines
511 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom }:
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;
};
}