Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/3f7f4207a6dd8bd217c01514ea40e9e4b9b7874a' (2023-08-11) → 'github:hyprwm/Hyprland/739598717bbff79aad8599dcd0ca7a423682482a' (2023-08-12) • Updated input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols/8c279b9fb0f2b031427dc5ef4eab53f2ed835530' (2023-05-16) → 'github:hyprwm/hyprland-protocols/0c2ce70625cb30aef199cb388f99e19a61a6ce03' (2023-08-11) • Added input 'hyprland/hyprland-protocols/systems': follows 'hyprland/systems' • Added input 'hyprland/systems': 'github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68' (2023-07-14) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/42747d267ab4345c4ceb78cd4a4fe99f072d80fc' (2023-08-03) → 'github:hyprwm/xdg-desktop-portal-hyprland/57a3a41ba6b358109e4fc25c6a4706b5f7d93c6b' (2023-08-12) • Added input 'hyprland/xdph/systems': follows 'hyprland/systems' • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9034b46dc4c7596a87ab837bb8a07ef2d887e8c7' (2023-08-09) → 'github:NixOS/nixpkgs/18784aac1013da9b442adf29b6c7c228518b5d3f' (2023-08-10) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c36df4fe4bf4bb87759b1891cab21e7a05219500' (2023-07-24) → 'github:Mic92/sops-nix/5f5d9a3c8bc247eb574823b9f16a79e054dafe73' (2023-08-12) |
||
---|---|---|
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.