diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-23 15:41:49 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-23 15:41:49 -0400 |
commit | 4abb25ea7d3876899e641a8a16281203bd164d53 (patch) | |
tree | 8b47a0381776df3eb441cd6f31b15341d99847da /home | |
download | nix-config-4abb25ea7d3876899e641a8a16281203bd164d53.tar.gz nix-config-4abb25ea7d3876899e641a8a16281203bd164d53.tar.bz2 nix-config-4abb25ea7d3876899e641a8a16281203bd164d53.zip |
initial config for all 3 systems
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"; +} |