Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/7f351e2993ed170dd9b8521a9e41f4d91d9b9c5d' (2023-08-13) → 'github:nix-community/home-manager/2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f' (2023-08-15) • Updated input 'hyprland': 'github:hyprwm/Hyprland/7c4daee29a353fa7e800c4874ce6d491eda458c3' (2023-08-14) → 'github:hyprwm/Hyprland/4986d74ef201171a930c312a8e3b72a22d9b84ee' (2023-08-15) • Updated input 'nixd': 'github:nix-community/nixd/ee531aacb67ed371869c07b1423af4d125b40614' (2023-08-13) → 'github:nix-community/nixd/d1704af3bc2fffa1cbe70e29d96a1522040aaee5' (2023-08-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/720e61ed8de116eec48d6baea1d54469b536b985' (2023-08-13) → 'github:NixOS/nixpkgs/09a137528c3aea3780720d19f99cd706f52c3823' (2023-08-14) • Updated input 'sops-nix': 'github:Mic92/sops-nix/32603de0dc988d60a7b80774dd7aed1083cd9629' (2023-08-13) → 'github:Mic92/sops-nix/f81e73cf9a4ef4b949b9225be3daa1e586c096da' (2023-08-15) • Updated input 'unstable': 'github:NixOS/nixpkgs/6e287913f7b1ef537c97aa301b67c34ea46b640f' (2023-08-14) → 'github:NixOS/nixpkgs/8353344d3236d3fda429bb471c1ee008857d3b7c' (2023-08-15) |
||
---|---|---|
home-manager-modules | ||
lib | ||
machines | ||
modules | ||
packages | ||
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.