Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/8c9ea9605eed20528bf60fae35a2b613b901fd77' (2023-01-19) → 'github:serokell/deploy-rs/c2ea4e642dc50fd44b537e9860ec95867af30d39' (2023-04-21) • Updated input 'home-manager': 'github:nix-community/home-manager/5160039edca28a7e66bad0cfc72a07c91d6768ad' (2023-04-20) → 'github:nix-community/home-manager/6142193635ecdafb9a231bd7d1880b9b7b210d19' (2023-04-25) • Updated input 'hyprland': 'github:hyprwm/Hyprland/510db64860fa307e33db5fdb843c6cc5a428b5a4' (2023-04-20) → 'github:hyprwm/Hyprland/1e526411b6207349f1ea0341ab3319ff880a898d' (2023-04-25) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/85b081528b937df4bfcaee80c3541b58f397df8b' (2023-04-15) → 'github:NixOS/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e' (2023-04-19) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/7abda952d0000b72d240fe1d41457b9288f0b6e5' (2023-04-06) → 'gitlab:wlroots/wlroots/00489b11a0d926058d23584e2ad0e2b64f5b7406' (2023-04-18) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/04f579377a32781ce57c9cf4ba2a5bcb7f53fa97' (2023-04-10) → 'github:hyprwm/xdg-desktop-portal-hyprland/bf035bf3d5b56fd3da9d11966ad0b3c57f852d78' (2023-04-14) • 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/555daa9d339b3df75e58ee558a4fec98ea92521e' (2023-04-18) → '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.