Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/65211db63ba1199f09b4c9f27e5eba5ec50d76ac' (2023-06-05) → 'github:serokell/deploy-rs/724463b5a94daa810abfc64a4f87faef4e00f984' (2023-06-14) • Updated input 'hyprland': 'github:hyprwm/Hyprland/7762ac0173b860af83e58d56409f9cf0fa7252e9' (2023-06-13) → 'github:hyprwm/Hyprland/1d902a4621b3d952c1e8dff959e9489239b6995f' (2023-06-15) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/75a5ebf473cd60148ba9aec0d219f72e5cf52519' (2023-06-11) → 'github:NixOS/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/6e8fb5509f2c94d09d4efa0f9b1f40b37bf73863' (2023-06-12) → 'gitlab:wlroots/wlroots/7e7633abf09b362d0bad9e3fc650fd692369291d' (2023-06-14) • Updated input 'nil': 'github:oxalica/nil/119e56eb4dfcd9fcc1bb808bf68ae3e7a3091409' (2023-06-11) → 'github:oxalica/nil/dbf26d6bc240790a533f7d54c01cea7ce952edec' (2023-06-15) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/14eede9450dc45b92adc9f1dfac873eac7e1a5de' (2023-06-13) → 'github:Mic92/nix-index-database/e11c61073b777e025993c5ef63ddbf776a9cca15' (2023-06-14) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/bb8b5735d6f7e06b9ddd27de115b0600c1ffbdb4' (2023-06-11) → 'github:NixOS/nixpkgs/ddf4688dc7aeb14e8a3c549cb6aa6337f187a884' (2023-06-14) • Updated input 'unstable': 'github:NixOS/nixpkgs/75a5ebf473cd60148ba9aec0d219f72e5cf52519' (2023-06-11) → 'github:NixOS/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) |
||
---|---|---|
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.