summaryrefslogblamecommitdiffstats
path: root/home/jon/home.nix
blob: 7957bebba46be05508b8d9c4414e682a1f839f3b (plain) (tree)





















































                                                                           
{ inputs, config, lib, pkgs, ... }:
let
  hm = inputs.home-manager.lib.hm;
  username = "jon";
in
{
  home.username = username;
  home.homeDirectory = "/home/${username}"; 

  imports = [
    ../../programs/picom.nix

    ../../programs/kitty.nix
    ../../programs/zsh.nix
    ../../programs/tmux.nix
    ../../programs/neovim.nix
    ../../programs/firefox.nix
    ../../programs/newsboat.nix
  ];

  home.packages = with pkgs; [
    libreoffice 
    hunspell
    hunspellDicts.en_US

    thefuck
    mpc-cli
    pavucontrol
  ];

  home.activation.installAwesomeWMConfig = ''
    if [ ! -d "$HOME/.config/awesome" ]; then
      ln -s "/etc/nixos/programs/dotfiles/awesome" "$HOME/.config/awesome"
      chmod -R +w "$HOME/.config/awesome"
    fi
  '';

  programs.home-manager.enable = true;

  #xdg.configFile."kitty/kitty.conf".source = ../dotfiles/kitty/kitty.conf;
  programs.git = {
    enable = true;
    userName = "Jon Santmyer";
    userEmail = "jon@jonsantmyer.com";
  };

  programs.ncmpcpp.enable = true;

  programs.mpv = {
    enable = true;
  };

  home.stateVersion = "23.05";
}