Skip to content

alesauce/nix-home

Repository files navigation

My systems defined via Nix built with nix

My Nix configs for all my machines. This repo was particularly inspired by lovesegfault's nix-config, if you can't tell from the nearly identical structure and content :)

For the configurations' entry points see the individual [hosts], as well as [flake.nix]. For adding overlays see overlays.

Structure

.
├── core         # Baseline configurations applicable to all machines
├── dev          # Developer tooling configuration
├── graphical    # Sway/i3 configuration for the desktop
├── hardware     # Hardware-specific configuration
├── hosts        # Machine definitions
├── nix          # Nix build support files (overlays, deployment code)
└── users        # Per-user configurations

Usage

Darwin

For macOS hosts using nix-darwin:

$ darwin-rebuild --flake "github:alesauce/nix-home#hemingway" switch

Home Manager

For non-NixOS hosts (i.e. home-manager-only systems such as wiggin):

$ home-manager --flake "github:alesauce/nix-home#myHost" switch

Adding overlays

Overlays should be added as individual nix files to ./nix/overlays with format

final: prev: {
    hello = (prev.hello.overrideAttrs (oldAttrs: { doCheck = false; }));
}

For more examples see [./nix/overlays][overlays].

About

Alesauce's machine(s), configured via Nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages