Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/3229862dd4cbfa93638a4d16ed86ec2fda5d38a6' (2023-07-15) → 'github:hyprwm/Hyprland/ddb8c897762d47a22867c77897c6e39513e36029' (2023-07-16) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/a1d9ab7584485fe0b4a992abf19486a72179d4b2' (2023-06-23) → 'github:hyprwm/hyprpaper/ac5f7b038d5ac589d32f5ae18f9745bfe5200618' (2023-07-16) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/757114749d4613cf71f3748e780a1be8a67a5d3c' (2023-07-09) → 'github:Mic92/nix-index-database/22fa44b7f14684d184733fb26a628f3878ff7aaf' (2023-07-16) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9fdfaeb7b96f05e869f838c73cde8d98c640c649' (2023-07-14) → 'github:NixOS/nixpkgs/af8279f65fe71ce5a448408034a8c06e2b4b2c66' (2023-07-15) • Updated input 'sops-nix': 'github:Mic92/sops-nix/cfe47aff8660fd760b1db89613a3205c2c4ba7b6' (2023-07-15) → 'github:Mic92/sops-nix/bd695cc4d0a5e1bead703cc1bec5fa3094820a81' (2023-07-16) • Updated input 'unstable': 'github:NixOS/nixpkgs/dfdbcc428f365071f0ca3888f6ec8c25c3792885' (2023-07-14) → 'github:NixOS/nixpkgs/8acef304efe70152463a6399f73e636bcc363813' (2023-07-15) |
||
---|---|---|
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.