Flake lock file updates: • Updated input 'hyprland': 'github:hyprwm/Hyprland/a9b8e2159c2813a6951d0b0186fbb7f2f8554d3e' (2023-07-25) → 'github:hyprwm/Hyprland/2ea7d10d049e26c9829912da1d16f7f35f5b265d' (2023-07-27) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/07eef29d1214b40da45ff2fae5d7e7498a0dd8ab' (2023-07-13) → 'github:tpwrules/nixos-apple-silicon/5567b99acd07e7069fb7e074f19d5ead10409798' (2023-07-27) • Updated input 'nixos-apple-silicon/nixpkgs': 'github:nixos/nixpkgs/4a729ce4b1fe5ec4fffc71c67c96aa5184ebb462' (2023-07-10) → 'github:nixos/nixpkgs/12303c652b881435065a98729eb7278313041e49' (2023-07-22) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/6dc93f0daec55ee2f441da385aaf143863e3d671' (2023-07-25) → 'github:NixOS/nixpkgs/f3fbbc36b4e179a5985b9ab12624e9dfe7989341' (2023-07-26) |
||
---|---|---|
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.