Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/40ebb62101c83de81e5fd7c3cfe5cea2ed21b1ad' (2023-04-15) → 'github:nix-community/home-manager/68eaf4b577cfa8024fb910a1ce7d60385044f798' (2023-04-16) • Updated input 'hyprland': 'github:hyprwm/Hyprland/edad24c257c1264e2d0c05b04798b6c90515831e' (2023-04-15) → 'github:hyprwm/Hyprland/c62ab1bee72cc4bda16a0574a8c9de7d71da314a' (2023-04-16) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/9c8ff8b426a8b07b9e0a131ac3218740dc85ba1e' (2023-04-05) → 'github:NixOS/nixpkgs/85b081528b937df4bfcaee80c3541b58f397df8b' (2023-04-15) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/10fd31a5444d25ab81c8105f2df1b4cb0cba68e5' (2023-04-12) → 'github:hyprwm/hyprpaper/3bfaac09f58ce31c33e1a56e7eaa606a87fe4c32' (2023-04-16) • Updated input 'sops-nix': 'github:Mic92/sops-nix/00d5fd73756d424de5263b92235563bc06f2c6e1' (2023-04-11) → 'github:Mic92/sops-nix/b7a6670a28b01cd1f62879921e36be2c69c4137a' (2023-04-16) • Updated input 'unstable': 'github:NixOS/nixpkgs/abe7316dd51a313ce528972b104f4f04f56eefc4' (2023-04-14) → 'github:NixOS/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16) |
||
---|---|---|
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.