* flake.lock: Update Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/946da791763db1c306b86a8bd3828bf5814a1247' (2023-04-08) → 'github:numtide/flake-utils/033b9f258ca96a10e543d4442071f614dc3f8412' (2023-04-09) • Added input 'flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09) • Updated input 'hyprland': 'github:hyprwm/Hyprland/b32af6ebfb5ea3ffc16cbf07a6cdbaa6c486ba58' (2023-04-08) → 'github:hyprwm/Hyprland/a1b1480c21a3ca7c35fd5ab99c966322f64b2f3b' (2023-04-09) • Updated input 'hyprland/hyprland-protocols': 'github:hyprwm/hyprland-protocols/b8f55e02a328c47ed373133c52483bbfa20a1b75' (2022-12-23) → 'github:hyprwm/hyprland-protocols/4d29e48433270a2af06b8bc711ca1fe5109746cd' (2023-04-09) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/d479c846531fd0e1d2357c9588b8310a2b859ef2' (2023-01-07) → 'github:hyprwm/xdg-desktop-portal-hyprland/e48165c5637260cf2a88494a112269922dee58de' (2023-04-09) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/9182de9ffc8c76fbf24d16dec0ea7a9430597a06' (2023-04-05) → 'github:hyprwm/hyprpaper/4bcedde1dc1a06107ec32c93a937de30f40aa1fc' (2023-04-09) • Updated input 'sops-nix': 'github:Mic92/sops-nix/b93eb910f768f9788737bfed596a598557e5625d' (2023-04-02) → 'github:Mic92/sops-nix/ddc6f124cb9be22d2ba066064c28bc19039a6bce' (2023-04-09) • Updated input 'unstable': 'github:NixOS/nixpkgs/0e19daa510e47a40e06257e205965f3b96ce0ac9' (2023-04-06) → 'github:NixOS/nixpkgs/d9f759f2ea8d265d974a6e1259bd510ac5844c5d' (2023-04-08) * flake.lock: Update Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/440faf5ae472657ef2d8cc7756d77b6ab0ace68d' (2023-04-05) → 'github:nix-community/home-manager/4e79c6a414ce59fd1a53ab77899c77ab87774e6b' (2023-04-10) • Updated input 'hyprland': 'github:hyprwm/Hyprland/a1b1480c21a3ca7c35fd5ab99c966322f64b2f3b' (2023-04-09) → 'github:hyprwm/Hyprland/16a034a34a8e97aaeed6e3f46d04c87497313c20' (2023-04-10) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/e48165c5637260cf2a88494a112269922dee58de' (2023-04-09) → 'github:hyprwm/xdg-desktop-portal-hyprland/04f579377a32781ce57c9cf4ba2a5bcb7f53fa97' (2023-04-10) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0040164e473509b4aee6aedb3b923e400d6df10b' (2023-04-07) → 'github:NixOS/nixpkgs/ea96b4af6148114421fda90df33cf236ff5ecf1d' (2023-04-10) • Updated input 'unstable': 'github:NixOS/nixpkgs/d9f759f2ea8d265d974a6e1259bd510ac5844c5d' (2023-04-08) → 'github:NixOS/nixpkgs/fd531dee22c9a3d4336cc2da39e8dd905e8f3de4' (2023-04-09) * flake.lock: Update Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/033b9f258ca96a10e543d4442071f614dc3f8412' (2023-04-09) → 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11) • Updated input 'home-manager': 'github:nix-community/home-manager/4e79c6a414ce59fd1a53ab77899c77ab87774e6b' (2023-04-10) → 'github:nix-community/home-manager/28698126bd825aff21cae9ffd15cf83e169051b0' (2023-04-11) • Updated input 'hyprland': 'github:hyprwm/Hyprland/16a034a34a8e97aaeed6e3f46d04c87497313c20' (2023-04-10) → 'github:hyprwm/Hyprland/c2f29be9baccd14ced62105f0fc07e34e6f4fd29' (2023-04-11) • Updated input 'sops-nix': 'github:Mic92/sops-nix/ddc6f124cb9be22d2ba066064c28bc19039a6bce' (2023-04-09) → 'github:Mic92/sops-nix/00d5fd73756d424de5263b92235563bc06f2c6e1' (2023-04-11) • Updated input 'unstable': 'github:NixOS/nixpkgs/fd531dee22c9a3d4336cc2da39e8dd905e8f3de4' (2023-04-09) → 'github:NixOS/nixpkgs/db24d86dd8a4769c50d6b7295e81aa280cd93f35' (2023-04-10) |
||
---|---|---|
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.