about summary refs log tree commit diff
path: root/home.nix
blob: 7607adcb91543725a808fa08bafec179962c027a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ config, lib, pkgs, ... }:

{
  home.username = "venomade";
  home.homeDirectory = "/Users/venomade";

  home.packages = with pkgs; [
    # Neovim
    neovim
    imagemagick
    fzf
    ripgrep

    # Lua
    lua-language-server
    lua5_4
    lua5_4.pkgs.luarocks

    # Personal
    bat
    eza
    jellyfin-tui
    lazygit
    starship
    yazi
    zk
    lima
  ];

  programs.git = {
    enable = true;
    settings.user = {
      name = "venomade";
      email = "venomade@venomade.com";
    };
  };

  home.stateVersion = "25.11";

  programs.home-manager.enable = true;

  home.file =
    let
      dir = "${config.home.homeDirectory}/.dotfiles/config";
    in
      lib.mapAttrs
        (name: _: {
          target = ".config/${name}";
          source = config.lib.file.mkOutOfStoreSymlink "${dir}/${name}";
          recursive = true;
        })
        (lib.filterAttrs
          (name: type: type == "directory")
          (builtins.readDir ./config));
}