Skip to content

brckd/nixdots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixDots

license

Dotfiles for NixOS using Flakes. Contains modules and configurations for NixOS, nix-on-droid and Home Manager.

Using existing configurations

  1. Make sure to have NixOS, nix-on-droid or just Nix properly installed.

  2. Enable Flakes if you haven't already.

  3. Enter the repository.

git clone --depth 1 https://github.com/brckd/nixdots
cd nixdots
  1. Build and activate the home configuration.
nix run home-manager/master -- switch --flake .
  1. Build and activate the system configuration, if one exists.

On NixOS (device specific)

sudo nixos-rebuild switch --flake .

On nix-on-droid

nix-on-droid switch --flake .

Creating new Configurations

On NixOS

  1. Create a new directory at ./configurations/nixos/$HOSTNAME.

  2. Use nixos-generate-config to create a hardware configuration.

nixos-generate-config --dir ./configurations/nixos/$HOSTNAME
  1. Create a default.nix module that imports configuration.nix to configure your system.

On nix-on-droid

Just override the existing configuration in ./configurations/droid/default.nix.

On Home Manager

  1. Create a new directory at ./configurations/home/$USERNAME

  2. Create a default.nix module to configure your user.

Acknowledgements

Special thanks to the dotfiles that heavily inspired me!

See the Flake inputs for some of the programs used. Check my GitHub stars for more incredible projects!

About

Dotfiles for NixOS using Home Manager. https://codeberg.org/bricked/nixdots

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published