Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11) → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31) • Updated input 'hyprland': 'github:hyprwm/Hyprland/51a930f802c71a0e67f05e7b176ded74e8e95f87' (2023-05-29) → 'github:hyprwm/Hyprland/e76bd43f53197af2c64608ba6b0792326e79db07' (2023-05-31) • Updated input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols/4d29e48433270a2af06b8bc711ca1fe5109746cd' (2023-04-09) → 'github:hyprwm/hyprland-protocols/8c279b9fb0f2b031427dc5ef4eab53f2ed835530' (2023-05-16) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/1a411f23ba299db155a5b45d5e145b85a7aafc42' (2023-05-02) → 'github:NixOS/nixpkgs/5e871d8aa6f57cc8e0dc087d1c5013f6e212b4ce' (2023-05-29) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/6830bfc17fd94709e2cdd4da0af989f102a26e59' (2023-04-25) → 'gitlab:wlroots/wlroots/3f0487d310974f6ff889ca80e4fb4005553814ed' (2023-05-31) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/c0e233955568fbea4e859336f6d3d14d51294d7c' (2023-04-25) → 'github:hyprwm/xdg-desktop-portal-hyprland/4d9ff0c17716936e0b5ca577a39e263633901ed1' (2023-05-29) • Updated input 'nil': 'github:oxalica/nil/0158d58d47abecd7f5f4e67c06365ff77bbedbc7' (2023-05-30) → 'github:oxalica/nil/dcd38b96c91a2d07552f824a6480e00dc7b4948a' (2023-05-31) • Updated input 'nil/rust-overlay': 'github:oxalica/rust-overlay/5eaff055dd57128c53ae373dc96af944f5849daa' (2023-05-01) → 'github:oxalica/rust-overlay/9b3284e2412f76bd68ff46f8cf1c7af44d7ffac0' (2023-05-30) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c8a17ce7abc03c50cd072e9e6c9b389c5f61836b' (2023-05-28) → 'github:NixOS/nixpkgs/9af373a61647257d16ae6062cddaa9094d24920c' (2023-05-30) |
||
---|---|---|
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.