Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/8407a9af0a333ade66d4deff7ef654a4594fe58f' (2023-07-05) → 'github:hyprwm/Hyprland/e632bf176b04968ca6a22f6e5d5f1a7bf77b6fa6' (2023-07-06) • Updated input 'nil': 'github:oxalica/nil/f6bd5fea84bb5b0b3685b5dd9c21c83fe6ab9b64' (2023-06-26) → 'github:oxalica/nil/a5422a2168de28b94e7f981651d0e2f4b6b7e0e4' (2023-07-06) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/c8210cb3fcde6860255b54ddba74dc177e6232cd' (2023-06-18) → 'github:Mic92/nix-index-database/44337c30729a3616c7a71d485af70d231b29675a' (2023-07-06) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c99004f75fd28cc10b9d2e01f51a412d768269c8' (2023-07-05) → 'github:NixOS/nixpkgs/e11142026e2cef35ea52c9205703823df225c947' (2023-07-05) • Updated input 'unstable': 'github:NixOS/nixpkgs/78419edadf0fabbe5618643bd850b2f2198ed060' (2023-07-04) → 'github:NixOS/nixpkgs/f292b4964cb71f9dfbbd30dc9f511d6165cd109b' (2023-07-05) |
||
---|---|---|
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.