Skip to content
aperezPublic

About

My dotfiles

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles (NixOS)

NixOS + home-manager, no flakes. Sources are pinned with npins.

default.nix          entry point: one attribute per host
npins/               pinned nixpkgs (nixos-unstable), home-manager, nixos-hardware
modules/             option modules imported by both NixOS and home-manager
hosts/common.nix     system config shared by all hosts
hosts/<host>/        default.nix (system), home.nix (user), hardware.nix
home/                home-manager config shared by all hosts

Usage

sudo nixos-rebuild switch --file . --attr $(hostname)   # fish abbreviation: rebuild
npins update                                            # bump pins, then commit sources.json

Per-project environments

Put a shell.nix and an .envrc containing use nix in the project; direnv loads it on cd. <nixpkgs> resolves to the system's pinned nixpkgs.

About

My dotfiles

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages