• Stars
    star
    340
  • Rank 124,317 (Top 3 %)
  • Language
    Nix
  • License
    BSD 3-Clause "New...
  • Created over 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My personal NixOS config

nix-config built with nix ci

This repository holds my NixOS configuration. It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of configuration.nix.

Deployment is done using deploy-rs, see usage.

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

Hostnames are picked from my hostname list

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

Deploying

NixOS

To deploy all hosts:

$ deploy

To deploy a specific host:

$ deploy .#myHost

Darwin

For macOS hosts using nix-darwin:

$ darwin-rebuild --flake ~/src/nix-config#poincare switch

Home Manager

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

$ home-manager --flake ~/src/nix-config#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.

More Repositories

1

beautysh

A Bash beautifier for the masses.
Python
444
star
2

cache-size

A Rust library to quickly get the size and line size of your CPU caches.
Rust
26
star
3

daedalos

A fully (dis)functional OS!
Rust
20
star
4

nix-workshop

Nix Workshop materials
Nix
18
star
5

nspire-kernel

Linux Kernel Configs for the TI Nspire CX and CX CAS
8
star
6

genesis

Rust
4
star
7

voronix

Voron + Klipper setup with Nix
Nix
4
star
8

musync

A fast music syncing software.
Rust
3
star
9

http-spi-bridge

Rust
3
star
10

chromaprint-rs

Safe Rust bindings to Chromaprint
Rust
3
star
11

hemoglobin

A Cellular Automaton written in Rust
Rust
3
star
12

cv

my cv
TeX
3
star
13

nix-rustc

Nix flake for rustc development
Nix
3
star
14

zuul

A dead simple test framework for C
C
2
star
15

fpga-challenges

HTML
2
star
16

ream

A Scheme interpreter written in Rust
Rust
2
star
17

dotfiles

My personal dotfiles and aux files
Shell
2
star
18

exercism

my solutions to exercism problems
Rust
2
star
19

p-challenges

A set of programming challenges, solved
C
2
star
20

MidiView

A Python based MIDI visualizer
Python
2
star
21

multi-ackermann

Fast, multithreaded implementation of the Ackermann Function in C++
C++
2
star
22

c-ht

A blazing fast hashtable implemented in C
C
2
star
23

nixpkgs-kernel-redux

Nix
2
star
24

hyperpixel-init

Code to configure and initialize the HyperPixel 4 display
Rust
2
star
25

nix-ffmpeg-opt

Nix
1
star
26

edconfig-parser

A parser for Editor Config http://editorconfig.org
Rust
1
star
27

lovesegfault-overlay

My Gentoo Overlay
Shell
1
star
28

backhand-async

Rust
1
star
29

leetcode

Rust
1
star
30

crane-cross-example

Nix
1
star
31

arduino-watch

An Arduino based watch with an OLED display
Arduino
1
star
32

rust-ml

Rust
1
star
33

advent-of-code

1
star
34

os-vcs

A list of OS's and their respective version control system
1
star
35

blog

personal blog
SCSS
1
star
36

cracking-the-coding-interview

Rust
1
star
37

sbcc

Notes from classes at SBCC
TeX
1
star
38

hard-calc

A set of hard Calculus and Real Analysis problems
TeX
1
star
39

collatz

A C++ Calculator of Collatz Conjecture
C++
1
star
40

slides

TeX
1
star
41

chat

A simple chat server
Rust
1
star
42

chirp

A CHIP-8 emulator written in Rust
Rust
1
star
43

mobius

A fast Rust implementation of the Mobius function
Shell
1
star
44

buildkit

Rust
1
star
45

transcode-rs

Rust utility to transcode media in bulk
Rust
1
star