Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/1d902a4621b3d952c1e8dff959e9489239b6995f' (2023-06-15) → 'github:hyprwm/Hyprland/5ac625d7bdff6b6318058f396f0fa1641bb6e807' (2023-06-16) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/6b08b1821c45601c6833c9e5e391c0ab777631a5' (2023-06-08) → 'github:tpwrules/nixos-apple-silicon/002d7e27b1de5885b14c2b2ed3be13c9ad862d23' (2023-06-16) • Updated input 'nixos-apple-silicon/nixpkgs': 'github:nixos/nixpkgs/7409480d5c8584a1a83c422530419efe4afb0d19' (2023-06-05) → 'github:nixos/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) • Updated input 'nixos-apple-silicon/rust-overlay': 'github:oxalica/rust-overlay/1279a72003f5e4b08c8eca1101d8f57452a539f9' (2023-06-07) → 'github:oxalica/rust-overlay/5c2b97c0a9bc5217fc3dfb1555aae0fb756d99f9' (2023-06-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ddf4688dc7aeb14e8a3c549cb6aa6337f187a884' (2023-06-14) → 'github:NixOS/nixpkgs/c7ff1b9b95620ce8728c0d7bd501c458e6da9e04' (2023-06-16) • Updated input 'sops-nix': 'github:Mic92/sops-nix/cb85e297937af1bd1434cf5f85a3f86a21dc8207' (2023-06-11) → 'github:Mic92/sops-nix/1e2bae54870a06aa9364f8d33a5b9a0869d792fc' (2023-06-16) • Updated input 'unstable': 'github:NixOS/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) → 'github:NixOS/nixpkgs/7c67f006ea0e7d0265f16d7df07cc076fdffd91f' (2023-06-15) |
||
---|---|---|
home-manager-modules | ||
lib | ||
machines | ||
modules | ||
packages | ||
secrets | ||
users | ||
.sops.yaml | ||
base.nix | ||
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.