Skip to content

anders130/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My NixOS Configuration

About

This repository contains all my NixOS configurations. It uses Nix flakes to manage the configurations.
To create the hosts and modules I use the nix-library modulix.

  • ./hosts: Contains the configurations for my different hosts.
  • ./modules: Contains the modules for my different hosts.
  • ./overlays: Contains overlays for various packages that I use.
  • ./pkgs: Contains package definitions for some packages that are/were not in nixpkgs.
  • ./templates: Contains templates for some flake-based projects.

Usage

To rebuild this configuration simply use this command:

rebuild

It will assume your host configuration name with the $NIX_FLAKE_DEFAULT_HOST environment variable. If you want, you can choose a different rebuild subcommand, you can even specify additional arguments:

rebuild boot --impure

If you encounter rate limiting while updating flake inputs, you can add your github token via ~/.config/nix/nix.conf:

access-tokens = github.com=ghp_***

To create a new token, go to github.com/settings/tokens and click on Generate new token.

Installation

You can find installation guides for each host in the directory of the host (e. g. ./hosts/desktop).