From 4abb25ea7d3876899e641a8a16281203bd164d53 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 23 Sep 2023 15:41:49 -0400 Subject: initial config for all 3 systems --- home/jon/home.nix | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 home/jon/home.nix (limited to 'home/jon') 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"; +} -- cgit v1.2.1