Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/946da791763db1c306b86a8bd3828bf5814a1247' (2023-04-08) → 'github:numtide/flake-utils/033b9f258ca96a10e543d4442071f614dc3f8412' (2023-04-09) • Added input 'flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09) • Updated input 'hyprland': 'github:hyprwm/Hyprland/b32af6ebfb5ea3ffc16cbf07a6cdbaa6c486ba58' (2023-04-08) → 'github:hyprwm/Hyprland/a1b1480c21a3ca7c35fd5ab99c966322f64b2f3b' (2023-04-09) • Updated input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols/b8f55e02a328c47ed373133c52483bbfa20a1b75' (2022-12-23) → 'github:hyprwm/hyprland-protocols/4d29e48433270a2af06b8bc711ca1fe5109746cd' (2023-04-09) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/d479c846531fd0e1d2357c9588b8310a2b859ef2' (2023-01-07) → 'github:hyprwm/xdg-desktop-portal-hyprland/e48165c5637260cf2a88494a112269922dee58de' (2023-04-09) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/9182de9ffc8c76fbf24d16dec0ea7a9430597a06' (2023-04-05) → 'github:hyprwm/hyprpaper/4bcedde1dc1a06107ec32c93a937de30f40aa1fc' (2023-04-09) • Updated input 'sops-nix': 'github:Mic92/sops-nix/b93eb910f768f9788737bfed596a598557e5625d' (2023-04-02) → 'github:Mic92/sops-nix/ddc6f124cb9be22d2ba066064c28bc19039a6bce' (2023-04-09) • Updated input 'unstable': 'github:NixOS/nixpkgs/0e19daa510e47a40e06257e205965f3b96ce0ac9' (2023-04-06) → 'github:NixOS/nixpkgs/d9f759f2ea8d265d974a6e1259bd510ac5844c5d' (2023-04-08) |
||
---|---|---|
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.