* flake.lock: Update Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/74e0b590c0c8eb99548b8db40c323ff61a2f37c4' (2023-03-13) → 'github:nix-community/home-manager/9154cd519a8942728038819682d6b3ff33f321bb' (2023-03-17) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8' (2023-03-15) → 'github:NixOS/nixpkgs/08ef7dc8334521605a5c8b7086cc248e74ee338b' (2023-03-18) • Updated input 'sops-nix': 'github:Mic92/sops-nix/9e98f7a442b0e318de9cce757675c2ab922bdf2b' (2023-03-12) → 'github:Mic92/sops-nix/08a0b5f25a73130869b3cc375eaf0e6ff317435e' (2023-03-19) • Updated input 'unstable': 'github:NixOS/nixpkgs/ac718d02867a84b42522a0ece52d841188208f2c' (2023-03-15) → 'github:NixOS/nixpkgs/1603d11595a232205f03d46e635d919d1e1ec5b9' (2023-03-18) * flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/08ef7dc8334521605a5c8b7086cc248e74ee338b' (2023-03-18) → 'github:NixOS/nixpkgs/eac7da7b519a5aefe92c33c90b4450a24ebe0ab3' (2023-03-19) • Updated input 'unstable': 'github:NixOS/nixpkgs/1603d11595a232205f03d46e635d919d1e1ec5b9' (2023-03-18) → 'github:NixOS/nixpkgs/60c1d71f2ba4c80178ec84523c2ca0801522e0a6' (2023-03-19) * flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/eac7da7b519a5aefe92c33c90b4450a24ebe0ab3' (2023-03-19) → 'github:NixOS/nixpkgs/e2c97799da5f5cd87adfa5017fba971771e123ef' (2023-03-20) • Updated input 'sops-nix': 'github:Mic92/sops-nix/08a0b5f25a73130869b3cc375eaf0e6ff317435e' (2023-03-19) → 'github:Mic92/sops-nix/d8827a8368c307fbc6ed594c9a31d619e7360bed' (2023-03-21) * flake.lock: Update Flake lock file updates: • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/e79177006306ae592bc865b03667af4229620461' (2023-02-24) → 'github:tpwrules/nixos-apple-silicon/696d7b4ac7ca05684a3cceedd44acfd0d1c5f1e3' (2023-03-22) • Updated input 'nixos-apple-silicon/nixpkgs': 'github:nixos/nixpkgs/988cc958c57ce4350ec248d2d53087777f9e1949' (2023-02-22) → 'github:nixos/nixpkgs/1603d11595a232205f03d46e635d919d1e1ec5b9' (2023-03-18) • Updated input 'unstable': 'github:NixOS/nixpkgs/60c1d71f2ba4c80178ec84523c2ca0801522e0a6' (2023-03-19) → 'github:NixOS/nixpkgs/19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e' (2023-03-21) |
||
---|---|---|
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.