Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/6142193635ecdafb9a231bd7d1880b9b7b210d19' (2023-04-25) → 'github:nix-community/home-manager/d82c9af8175878a461a0fdf914e67cc446664570' (2023-04-26) • Updated input 'hyprland': 'github:hyprwm/Hyprland/28ca434fb52befa2058a6c23b21566c280654e03' (2023-04-25) → 'github:hyprwm/Hyprland/72d2f33b34951b7f5be6cdbc302b1c6a33cbf60f' (2023-04-26) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e' (2023-04-19) → 'github:NixOS/nixpkgs/c8018361fa1d1650ee8d4b96294783cf564e8a7f' (2023-04-25) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/00489b11a0d926058d23584e2ad0e2b64f5b7406' (2023-04-18) → 'gitlab:wlroots/wlroots/6830bfc17fd94709e2cdd4da0af989f102a26e59' (2023-04-25) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/bf035bf3d5b56fd3da9d11966ad0b3c57f852d78' (2023-04-14) → 'github:hyprwm/xdg-desktop-portal-hyprland/c0e233955568fbea4e859336f6d3d14d51294d7c' (2023-04-25) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/3bfaac09f58ce31c33e1a56e7eaa606a87fe4c32' (2023-04-16) → 'github:hyprwm/hyprpaper/b4fdc0be52d7c3e48e932698bafc3f69dbd45b3b' (2023-04-26) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/f5364316e314436f6b9c8fd50592b18920ab18f9' (2023-04-24) → 'github:NixOS/nixpkgs/60c0f762658916a4a5b5a36b3e06486f8301daf4' (2023-04-26) • Updated input 'sops-nix': 'github:Mic92/sops-nix/7c8e9727a2ecf9994d4a63d577ad5327e933b6a4' (2023-04-24) → 'github:Mic92/sops-nix/4a330ead6a990365c9bb48f30523ac048fb6d8ae' (2023-04-26) • Updated input 'unstable': 'github:NixOS/nixpkgs/884ac294018409e0d1adc0cae185439a44bd6b0b' (2023-04-24) → 'github:NixOS/nixpkgs/c8018361fa1d1650ee8d4b96294783cf564e8a7f' (2023-04-25) |
||
---|---|---|
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.