Skip to content

tangtang95/dotnix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNix

Dotfiles for configuring linux environments through nix home-manager tool.

My Tower Desktop PC driver to install

Nix installation

Use determinatate system nix installer since it will also automatically enable flakes experimental feature (https://github.com/DeterminateSystems/nix-installer).

Usage

Manage home with the following command:

nix run .#home-manager -- switch --impure --flake ~/dotnix

# after one generation of home manager, it is possible to use home-manager directly
home-manager switch --impure --flake ~/dotnix

Limitations

  • Determinism due to impure evaluation mode. Impure is necessary due to limitation of nixGL (i.e. builtins.currentTime NixOS/nix#3539)
  • Require to use firefox installed via nix and using nixGL. Otherwise other nix GUI apps that need to open web pages will not work

Change default shell

Add shell program to /etc/shells and then change shell. Example with fish:

command -v fish | sudo tee -a /etc/shells
sudo chsh -s "$(command -v fish)" "${USER}"

Other tools to install

Other tweaks

About

Dotfiles using nix home manager for Linux

Resources

Stars

Watchers

Forks

Languages