diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/jon/home.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/home/jon/home.nix b/home/jon/home.nix new file mode 100644 index 0000000..7957beb --- /dev/null +++ b/home/jon/home.nix @@ -0,0 +1,54 @@ +{ 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"; +} |