1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00

add home-manager

This commit is contained in:
J. Fernando Sánchez
2023-11-10 16:16:24 +01:00
parent b0933f7e42
commit 1c449f436a
7 changed files with 295 additions and 2 deletions

View File

@@ -0,0 +1,48 @@
{ config, pkgs, nixgl, ... }:
let nixgl = import <nixgl> {};
in
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "j";
home.homeDirectory = "/home/j";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "23.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.packages = [
pkgs.htop
pkgs.fortune
pkgs.tmux
pkgs.git
pkgs.fish
pkgs.helix
pkgs.starship
pkgs.ripgrep
pkgs.eza
pkgs.ranger
nixgl.auto.nixGLDefault
pkgs.alacritty
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DejaVuSansMono" ]; })
];
fonts.fontconfig.enable = true;
programs.neovim = {
enable = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
auto-pairs
fzf-vim
lightline-vim
];
};
}