Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/68eaf4b577cfa8024fb910a1ce7d60385044f798' (2023-04-16) → 'github:nix-community/home-manager/58b8685e47ce54b298c40aff7877ea9b875de0e6' (2023-04-17) • Updated input 'hyprland': 'github:hyprwm/Hyprland/c62ab1bee72cc4bda16a0574a8c9de7d71da314a' (2023-04-16) → 'github:hyprwm/Hyprland/716d713b04b1957c5d961810d851e6719142e117' (2023-04-17) • Updated input 'linkal': 'github:JulienMalka/Linkal/bc41f27d82e2c1ccf1ec4bdc1c5e726d1980c559' (2023-04-15) → 'github:JulienMalka/Linkal/f8556cfdf999107d1323e639b3fcf523177177ce' (2023-04-17) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/fda0d99c2cbbb5c89d8855d258cb0821bd9113ad' (2023-04-14) → 'github:NixOS/nixpkgs/de66115c552acc4e0c0f92c5a5efb32e37dfa216' (2023-04-17) • Updated input 'sops-nix': 'github:Mic92/sops-nix/b7a6670a28b01cd1f62879921e36be2c69c4137a' (2023-04-16) → 'github:Mic92/sops-nix/de6514f8fe1b3c2b57307569a0898bc4be9ae1c5' (2023-04-17) • Updated input 'unstable': 'github:NixOS/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16) → 'github:NixOS/nixpkgs/f00994e78cd39e6fc966f0c4103f908e63284780' (2023-04-17) |
||
---|---|---|
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.