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/28698126bd825aff21cae9ffd15cf83e169051b0' (2023-04-11) → 'github:nix-community/home-manager/32d3e39c491e2f91152c84f8ad8b003420eab0a1' (2023-04-22) • Removed input 'home-manager/utils' • Updated input 'hyprland': 'github:hyprwm/Hyprland/4bc3f9adbe7563817a9e1c6eac6f5e435f7db957' (2023-04-12) → 'github:hyprwm/Hyprland/97b03687657ba141f11128d25aa345d92892bd2d' (2023-04-22) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/9c8ff8b426a8b07b9e0a131ac3218740dc85ba1e' (2023-04-05) → '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 'hyprpaper': 'github:hyprwm/hyprpaper/10fd31a5444d25ab81c8105f2df1b4cb0cba68e5' (2023-04-12) → 'github:hyprwm/hyprpaper/3bfaac09f58ce31c33e1a56e7eaa606a87fe4c32' (2023-04-16) • Updated input 'linkal': 'github:JulienMalka/Linkal/653c2b718e1a306503c6f47bb8ef8f981fcb934f' (2023-03-25) → 'github:JulienMalka/Linkal/f8556cfdf999107d1323e639b3fcf523177177ce' (2023-04-17) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/115a96e2ac1e92937cd47c30e073e16dcaaf6247' (2023-04-10) → 'github:NixOS/nixpkgs/fd901ef4bf93499374c5af385b2943f5801c0833' (2023-04-22) • Updated input 'sops-nix': 'github:Mic92/sops-nix/00d5fd73756d424de5263b92235563bc06f2c6e1' (2023-04-11) → 'github:Mic92/sops-nix/5698b06b0731a2c15ff8c2351644427f8ad33993' (2023-04-18) • Updated input 'unstable': 'github:NixOS/nixpkgs/3fb8eedc450286d5092e4953118212fa21091b3b' (2023-04-11) → 'github:NixOS/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e' (2023-04-19) |
||
---|---|---|
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.