Flake lock file updates: • Updated input 'attic': 'github:zhaofengli/attic/b1fb790b5f2afaaa1b2f7f18979b8318abe604bb' (2023-05-28) → 'github:zhaofengli/attic/4fedffe6a1020edfcfa7bef18d21321d4983b3a7' (2023-06-13) • Updated input 'home-manager': 'github:nix-community/home-manager/e753d659c64c7d158433d87ef7d6151ca1d1817a' (2023-06-12) → 'github:nix-community/home-manager/61e5d1c38ef04ba30a9119825b159bce9c6010be' (2023-06-13) • Updated input 'hyprland': 'github:hyprwm/Hyprland/528cfc28891431be116bcaed7e72d4f8497ed009' (2023-06-12) → 'github:hyprwm/Hyprland/7762ac0173b860af83e58d56409f9cf0fa7252e9' (2023-06-13) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/7e83b70f31f4483c07e6939166cb667ecb8d05d5' (2023-06-12) → 'github:Mic92/nix-index-database/14eede9450dc45b92adc9f1dfac873eac7e1a5de' (2023-06-13) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d3bb401dcfc5a46ce51cdfb5762e70cc75d082d2' (2023-06-10) → 'github:NixOS/nixpkgs/bb8b5735d6f7e06b9ddd27de115b0600c1ffbdb4' (2023-06-11) |
||
---|---|---|
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.