Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/c2f29be9baccd14ced62105f0fc07e34e6f4fd29' (2023-04-11) → 'github:hyprwm/Hyprland/4bc3f9adbe7563817a9e1c6eac6f5e435f7db957' (2023-04-12) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/4bcedde1dc1a06107ec32c93a937de30f40aa1fc' (2023-04-09) → 'github:hyprwm/hyprpaper/10fd31a5444d25ab81c8105f2df1b4cb0cba68e5' (2023-04-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ea96b4af6148114421fda90df33cf236ff5ecf1d' (2023-04-10) → 'github:NixOS/nixpkgs/115a96e2ac1e92937cd47c30e073e16dcaaf6247' (2023-04-10) • Updated input 'unstable': 'github:NixOS/nixpkgs/db24d86dd8a4769c50d6b7295e81aa280cd93f35' (2023-04-10) → 'github:NixOS/nixpkgs/3fb8eedc450286d5092e4953118212fa21091b3b' (2023-04-11) |
||
---|---|---|
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.