Flake lock file updates: • Updated input 'colmena': 'github:zhaofengli/colmena/4e9b52bdbc920a55feac78369f0efd6122fdb88a' (2023-09-28) → 'github:zhaofengli/colmena/197010c492a9606885e0cc9bd514f871f5aa0dc0' (2023-10-18) • Updated input 'colmena/nixpkgs': 'github:NixOS/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06) → 'github:NixOS/nixpkgs/f5892ddac112a1e9b3612c39af1b72987ee5783a' (2023-09-29) • Updated input 'colmena/stable': 'github:NixOS/nixpkgs/731cc710aeebecbf45a258e977e8b68350549522' (2022-11-29) → 'github:NixOS/nixpkgs/32dcb45f66c0487e92db8303a798ebc548cadedc' (2023-09-30) • Updated input 'hyprland': 'github:hyprwm/Hyprland/a0b675ec9e57af8bc631fc8cc54d062b58669a9f' (2023-10-17) → 'github:hyprwm/Hyprland/d70cc88dab11bc6d1095523a0ce655dff40b27a2' (2023-10-18) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/898cb2064b6e98b8c5499f37e81adbdf2925f7c5' (2023-10-13) → 'github:NixOS/nixpkgs/b5f8ec6be261dfc44c3b56b220e2793d1b61512b' (2023-10-17) |
||
---|---|---|
home-manager-modules | ||
lib | ||
machines | ||
modules | ||
packages | ||
patches | ||
secrets | ||
users | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
My NixOS Configurations ❄
This repository contains the configurations of my machines using NixOS.
What is NixOS ?
NixOS is a linux distribution based on the Nix package manager. It allows fully reproducible builds and a declarative configuration style, using a functionnal langage called Nix (yes, it is the same name as the package manager and the OS).
What is a flake ?
This whole repository is a flake. It is an experimental feature of Nix, allowing for pure evaluation of code. Dependency are fully specified and locked.
How does this work ?
Machines
This project manage the configuration of three machines :
- Macintosh, a thinkpad laptop,
- Lisa, a high performance server,
- Newton, a low performance stockage server.
Machines configurations are located in the machines folder, and are using all the custom modules defined in this project.
Modules
This configuration defines a number of custom NixOS and home-manager modules. They are respectively defined in the modules and home-manager-modules folders.
Secrets
Secrets are stored in the secrets folder. They are uncrypted upon system activation using the host ssh key. Secrets are managed using nix-sops.
Inspirations
This project is freely inspired by some really cool projects, including MayNiklas/nixos, pinox/nixos and ncfavier/config.