Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/47d6c3f65234230d37f1cf7d3d6b5575ec80fe0c' (2023-04-21) → 'github:nix-community/home-manager/6142193635ecdafb9a231bd7d1880b9b7b210d19' (2023-04-25) • Updated input 'hyprland': 'github:hyprwm/Hyprland/d366fc48b825b9a0a14fdf4b03bf5d1919554fdc' (2023-04-21) → 'github:hyprwm/Hyprland/1e526411b6207349f1ea0341ab3319ff880a898d' (2023-04-25) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/44069dfd5e9e3efa150ce468f48c64916f2de0ae' (2023-04-20) → 'gitlab:wlroots/wlroots/00489b11a0d926058d23584e2ad0e2b64f5b7406' (2023-04-18) • Updated input 'linkal': 'github:JulienMalka/Linkal/f8556cfdf999107d1323e639b3fcf523177177ce' (2023-04-17) → 'github:JulienMalka/Linkal/1c42e4c7b83835a8a81a85d09ced9cf8350c83d8' (2023-04-25) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3d302c67ab8647327dba84fbdb443cdbf0e82744' (2023-04-19) → 'github:NixOS/nixpkgs/f5364316e314436f6b9c8fd50592b18920ab18f9' (2023-04-24) • Updated input 'sops-nix': 'github:Mic92/sops-nix/5698b06b0731a2c15ff8c2351644427f8ad33993' (2023-04-18) → 'github:Mic92/sops-nix/7c8e9727a2ecf9994d4a63d577ad5327e933b6a4' (2023-04-24) • Updated input 'unstable': 'github:NixOS/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e' (2023-04-19) → 'github:NixOS/nixpkgs/884ac294018409e0d1adc0cae185439a44bd6b0b' (2023-04-24) |
||
---|---|---|
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.