Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/5f85e35a25085b75e1cbb6cc7291726fa4fab2ed' (2023-05-07) → 'github:zhaofengli/attic/b1fb790b5f2afaaa1b2f7f18979b8318abe604bb' (2023-05-28) • Updated input 'hyprland': 'github:hyprwm/Hyprland/078ba6daa8e2e2d8e25a226d65a418b8a85956b3' (2023-05-27) → 'github:hyprwm/Hyprland/f1ad270ff8c78299e39e5f44176e9c99b6d5075f' (2023-05-29) • Updated input 'nil': 'github:oxalica/nil/17ed1578f3a225f2760d4da3adb440eb8677f2d3' (2023-05-19) → 'github:oxalica/nil/ca462183c525b5a950912f98815b7d290218f1d3' (2023-05-28) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9886352ec9ab3945896ee8a4185e961fe29df209' (2023-05-25) → 'github:NixOS/nixpkgs/c8a17ce7abc03c50cd072e9e6c9b389c5f61836b' (2023-05-28) • Updated input 'sops-nix': 'github:Mic92/sops-nix/4ccdfb573f323a108a44c13bb7730e42baf962a9' (2023-05-21) → 'github:Mic92/sops-nix/3e016341d4dca6ce7c62316f90e66341841a30f9' (2023-05-28) • Updated input 'unstable': 'github:NixOS/nixpkgs/f91ee3065de91a3531329a674a45ddcb3467a650' (2023-05-24) → 'github:NixOS/nixpkgs/4e37b4e55b60fb7d43d2b62deb51032a489bcbe8' (2023-05-28) |
||
---|---|---|
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.