Files
dotfiles/home.nix
T
venomade a6543a0ba0 Nix Emacs
Add Emacs Darwin to the pkgs
Other neovim and tangential things
2026-03-06 00:09:04 +00:00

67 lines
1.1 KiB
Nix

{ config, lib, pkgs, ... }:
let
emacsFlake = builtins.getFlake "github:nix-giant/nix-darwin-emacs/065050b9e06a30c01b41539b75464fff972fecd6";
in
{
home.username = "venomade";
home.homeDirectory = "/Users/venomade";
home.packages = with pkgs; [
# Neovim
neovim
imagemagick
fzf
ripgrep
# Emacs
(emacsFlake.packages.${system}.emacs-30)
# Nix
nil
# 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));
}