Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/ec269622fcd1fd06d2db19d98593ffab8ff041cb' (2023-08-08) → 'github:hyprwm/Hyprland/126792584fa4eb25f6c8e3b3eb6bfb00b58a787a' (2023-08-09) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/5567b99acd07e7069fb7e074f19d5ead10409798' (2023-07-27) → 'github:tpwrules/nixos-apple-silicon/a4717b649ca84a6f4556c04cc6235842263629ca' (2023-08-09) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/011567f35433879aae5024fc6ec53f2a0568a6c4' (2023-08-07) → 'github:NixOS/nixpkgs/78287547942dd8e8afff0ae47fb8e2553db79d7e' (2023-08-08) • Updated input 'unstable': 'github:NixOS/nixpkgs/5a8e9243812ba528000995b294292d3b5e120947' (2023-08-07) → 'github:NixOS/nixpkgs/41c7605718399dcfa53dd7083793b6ae3bc969ff' (2023-08-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.