Skip to content

crisbour/nix-hm-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home-manager NIX

Alacritty config

Install alacritty and neovim with home-manager as per resources.

In order to easily change the alacritty theme and not spend time copying color scheme across, make use of the alacritty-colorscheme tool [^al-color].

Grab alacrity theme and link ~/.config/alacritty/colors to the directory that contains the color schemes. Then apply the theme buy running alacritty-colorscheme <scheme_name>.{yml,yaml}. If you run neo-vim, using the flag -V creates the .vimrc_background which will make vim use the same theme. Otherwise, you need to explicitly include this in your .vimrc.

TODO: Nix Home-manager config to:

  • install alacritty-colorscheme
  • clone alacritty themes and link/copy color schemes to .config/alacritty/colors
  • run alacritty-colorscheme -V <prefered-colorscheme.{yaml,yml}>. Alternatively, replace colors section with the colorscheme of choice and find a way to configure .vimrc_background as well

Usage

Update flakes

nix flake update

Configuration

Because this make use of env variables USER and HOME it is not a pure derivation, therefore it requires the impure argument.

home-manager switch --impure --flake .#<name_of_configuration>

Flakes are an experimental feature in older realease. In order to make use of them without verbosity in the command, allow flakes if you are following nix-unstable. Add the following to ~/.config/nix/nix.conf:

experimental-features = nix-command flakes

Resources

TODO

  • Add git to flake dependencies as containers or minimal system might not have it
  • Allow Unfree: Not working with Flakes for my config, find alternative
  • How to install nixgl.auto.nixGLDefault from home-manager?

About

My Nix Home Manager configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published