Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/942ee943f5b0f3f9611b2ff5481dacf19aed6a17' (2023-08-18) → 'github:hyprwm/Hyprland/fff118fa763d299958002684d2fdbfbb2e804d50' (2023-08-19) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/e498c438b1e16dcf32ecb3030b20b83f7ed9ff6d' (2023-08-03) → 'github:hyprwm/hyprpaper/5e73eb60552d48d55541c60f9a8da2b666003fe6' (2023-08-19) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/a4717b649ca84a6f4556c04cc6235842263629ca' (2023-08-09) → 'github:tpwrules/nixos-apple-silicon/5e5a0933387f914f2ad7033f2afbc8a074b9480b' (2023-08-19) • Updated input 'nixos-apple-silicon/nixpkgs': 'github:nixos/nixpkgs/12303c652b881435065a98729eb7278313041e49' (2023-07-22) → 'github:nixos/nixpkgs/42c25608aa2ad4e5d3716d8d63c606063513ba33' (2023-08-17) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/ae521bd4e460b076a455dca8b13f4151489a725c' (2023-08-18) → 'github:NixOS/nixpkgs/4cdad15f34e6321a2f789b99d42815b9142ac2ba' (2023-08-19) • Updated input 'unstable': 'github:NixOS/nixpkgs/8ecc900b2f695d74dea35a92f8a9f9b32c8ea33d' (2023-08-18) → 'github:NixOS/nixpkgs/d680ded26da5cf104dd2735a51e88d2d8f487b4d' (2023-08-19) |
||
---|---|---|
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.