Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/440faf5ae472657ef2d8cc7756d77b6ab0ace68d' (2023-04-05) → 'github:nix-community/home-manager/4e79c6a414ce59fd1a53ab77899c77ab87774e6b' (2023-04-10) • Updated input 'hyprland': 'github:hyprwm/Hyprland/a1b1480c21a3ca7c35fd5ab99c966322f64b2f3b' (2023-04-09) → 'github:hyprwm/Hyprland/16a034a34a8e97aaeed6e3f46d04c87497313c20' (2023-04-10) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/e48165c5637260cf2a88494a112269922dee58de' (2023-04-09) → 'github:hyprwm/xdg-desktop-portal-hyprland/04f579377a32781ce57c9cf4ba2a5bcb7f53fa97' (2023-04-10) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0040164e473509b4aee6aedb3b923e400d6df10b' (2023-04-07) → 'github:NixOS/nixpkgs/ea96b4af6148114421fda90df33cf236ff5ecf1d' (2023-04-10) • Updated input 'unstable': 'github:NixOS/nixpkgs/d9f759f2ea8d265d974a6e1259bd510ac5844c5d' (2023-04-08) → 'github:NixOS/nixpkgs/fd531dee22c9a3d4336cc2da39e8dd905e8f3de4' (2023-04-09) |
||
---|---|---|
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.