• Stars
    star
    234
  • Rank 165,704 (Top 4 %)
  • Language
    Nix
  • Created over 8 years ago
  • Updated 9 months ago

Reviews

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

Repository Details

NixOS and Home-Manager configs for my devices. dotfiles, but way better

nixcfg

Nix rules everything around me

Overview

  • nix configuration for my laptops, desktops, sbcs, phones, and cloud servers
  • nix flake-powered
  • guaranteed to be reproducible
  • immutable full system configuration (dotfiles, but on steroids)

notes

  • some commits may have empty commit messages, this is from me attempting to use and learn jj.

Components

  • home-manager for user-based app/desktop configuration
  • sops-nix for secrets (encrypted at rest, per-host encryption)
  • terranix for cloud server creation/deletion automation
  • custom commands for easy gpg-over-ssh usage (pkgs/commands.nix)

Repo Layout

(this sometimes drifts, but should be roughly accurate as of April 2023)

  • cloud
    • automation and configuration for cloud servers
    • powered by terranix
  • docs
    • notes to self
    • who knows what "great" ideas and tidbits it contains
  • hosts
    • toplevel machine definitions
    • installer (meta, iso)
      • configuration for a custom x86_64-linux installer image
      • includes my SSH key and sshd enabled and most used programs
      • see: nix build .#images.installer
    • raisin (laptop)
      • former-daily-driver
      • Lenovo "Yoga Slim 7 Pro-14ACH5 Laptop (ideapad) - Type 82MS"
      • remote (KS, USA) zrepl(zfs) and syncthing backup target
    • xeep (laptop)
      • former-former-daily-driver Dell XPS 9370
      • remote (MO, USA) zrepl(zfs) and syncthing backup target
    • zeph (laptop)
      • current daily-driver
      • favorite, all-AMD, laptop ever
      • ASUS Zephyrus G14 (2022) - GA402RJ
      • dual-booting NixOS, of course, and Windows 11 for casual 120Hz/1600p gaming
  • misc/
    • misc scripts
    • buyer beware
  • mixins/
    • individual application configuration (mostly via home-manager)
    • (libvirt, prs/gopass, git, gnupg, spotifyd, tailscale, wezterm, etc)
  • pkgs/
    • my own "packages"
    • custom shell commands (gpg+ssh wrapper, etc)
    • tip-of-tree package overrides for:
      • wezterm
      • nushell
  • profiles/
    • bits that compose machine "personas"
    • core.nix - core bits, see also mixins/common.nix
    • interactive.nix - headless systems
    • gui.nix - baseline for GUI systems
    • gui-wayland.nix - common tools for wayland/wlroots compositors
    • gui-sway.nix - the start of my sway GUI configuration
    • addon-dev.nix - pull devtool's shell deps into system
    • addon-laptop.nix - common laptop bits, power management, etc
    • addon-asus.nix - extras for my ASUS laptop
    • user-cole.nix - my base cole user configuration
  • secrets/
    • scripts to manage sops for sops-nix
    • sops-nix is great... but...
    • sops is questionable-code-quality near-abandonware
  • shells/
    • nix shells for various scenarios
      • _minimal.nix - minimal shell base
      • ci.nix - tools needed to drive CI for this repo
      • devenv.nix - complete set of tools for Go/Rust/Nix development
      • devtools.nix - bare-essential dev tools for my dev machines
      • gstreamer.nix - old, for tinkering with rust+gstreamer stuff
      • uutils.nix - experimentation with rust-based coreutils
  • main.nu
    • a homegrown nushell (❤️) script for managing this repo
    • updates/rebases my flake inputs
    • updates/rebases my custom packages to tip-of-branch
    • updates the lock file

Other Interesting Nix Repos

More Repositories

1

nixos-flake-example

This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.
Nix
152
star
2

azure-kubernetes-status

Status of Kubernetes on Azure (DEPRECATED! See https://github.com/Azure/ACS)
28
star
3

stable-diffusion-flake

Nix
22
star
4

dotfiles

dotfiles
Shell
17
star
5

cloudflare-dyndns

dynamic dns client (of sorts) for cloudflare (golang)
Go
17
star
6

azure-ad-k8s-oidc-example

Kubernetes: OIDC Authn + Azure AD + RBAC Authz = <3
11
star
7

azkube

Go
9
star
8

azure-kubernetes-demo

Kubernetes 1.4 on Azure Demo
9
star
9

nixos-azure

Nix
9
star
10

chefi

netcat-powered pastebin for troubleshooting (written in Rust)
Rust
9
star
11

nixpkgs-kubernetes

I just can't stay away...
Nix
8
star
12

ezconnector

Go
7
star
13

flake-chromium

Chrome Wayland builds for NixOS users (Feb2020- working)
Nix
6
star
14

azure-tools

Random assortment of tools useful for working with Azure
Shell
6
star
15

flake-azure-demo

demo of "azure-linux-boot-agent", "flake-azure" and "sops-nix"
6
star
16

polykube

End-to-end PoC .NET + Angular2 app built for Kubernetes
TypeScript
6
star
17

azure-archlinux-packer

Build an ArchLinux image for Azure (using Packer!)
Shell
5
star
18

platform2-sommelier

C++
5
star
19

azure-linux-boot-agent

an alternative to walinuxagent. built for use as a part of `colemickens/flake-azure`
Rust
4
star
20

nix-rice

A library to functionally define your configuration and theme (rice) with Nix
Nix
4
star
21

azkube-feb

Go
3
star
22

rust-pcap

libpcap bindings for rust-lang
Rust
3
star
23

jsonp.org

jsonp.org source (I no longer own jsonp.org)
Go
3
star
24

twiddler

Fiddler clone in Qt5 + qml + golang
Go
3
star
25

niche

`niche` is a self-service nix binary cache tool that manages your signing key and wraps nix build to upload build products
2
star
26

nixos-theia

Nix
2
star
27

croswall

Download Chrome OS Wallpapers
Go
2
star
28

azkube-kvbs

Go
2
star
29

fbrp

Simple file server protected by membership in a secret Facebook group.
Go
2
star
30

gomez

(Note: This is broken and abandoned and has been scrapped for parts. See the 'media' branch of my camlistore.org fork.
JavaScript
2
star
31

rust-packet

packet encoding and decoding library
Rust
1
star
32

euler-rust

Euler problems solved in rust
Rust
1
star
33

commango

remote commands in go (just me messing around)
Go
1
star
34

nixos-veloren

Shell
1
star
35

safekilla

Testing tool for network devices such as SafeConnect
Go
1
star
36

tower-sessions

Rust
1
star
37

jjtest

this is me playing with https://github.com/martinvonz/jj
1
star
38

camlistore

Fork of camlistore.org's camlistore repoitory (media & azure brancehs)
Go
1
star
39

H5Tweak

Removes default FPS cap and adds FOV slider for Halo 5: Forge.
C#
1
star
40

win_autossh_svc

cygwin+nssm+batch files combine to give a resilient reverse rdp tunnel
Batchfile
1
star
41

wlstream

C
1
star
42

kconfig-frontends

C
1
star
43

pijul

Mirror of the darcs repository at https://pijul.org
C
1
star
44

nixpkgs-arcan

wip wip wip some of this isnt even mine
Nix
1
star
45

twitlistauth

Simple file server protected by membership on a Twitter list
Go
1
star
46

colemickens.github.io

HTML
1
star
47

dualboot-utilities

(dead: moved into my dotfiles repo inside of homedir/.zprofile) helpers for dual booting on windows/linux without interactively using the boot menu
PowerShell
1
star
48

visionfive-nix

fork of https://github.com/MatthewCroughan/visionfive-nix
Nix
1
star
49

lk2nd

Secondary little kernel (lk) bootloader for Qualcomm MSM8916/MSM8974/... devices
C
1
star