* flake.lock: Update Flake lock file updates: • Updated input 'home-manager/utils': 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11) → 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) • Removed input 'home-manager/utils/systems' • Updated input 'home-manager-unstable': 'github:nix-community/home-manager/6fc82e56971523acfe1a61dbcb20f4bb969b3990' (2023-05-07) → 'github:nix-community/home-manager/78ceec68f29ed56d6118617e9f0f588bf164067f' (2023-05-07) * flake.lock: Update Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/6b0b6a1c2527e8b1ef370a308b6ef8903004ac47' (2023-05-05) → 'github:serokell/deploy-rs/64160276cd6569694131ed8864d4d35470a84ec3' (2023-05-08) • Updated input 'home-manager-unstable': 'github:nix-community/home-manager/78ceec68f29ed56d6118617e9f0f588bf164067f' (2023-05-07) → 'github:nix-community/home-manager/3f3fa731ad0f99741d4dc98e8e1287b45e30b452' (2023-05-08) • Updated input 'hyprland': 'github:hyprwm/Hyprland/a31dceb2c623c41565193328f98b50694917e0bf' (2023-05-06) → 'github:hyprwm/Hyprland/e7c2ea9724ef11038b14367587d9b4987708b1d1' (2023-05-08) • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper/b4fdc0be52d7c3e48e932698bafc3f69dbd45b3b' (2023-04-26) → 'github:hyprwm/hyprpaper/3596630a207a02a0035a0a178a1fdbf2a5f40a30' (2023-05-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/adc7c6f1bbaa73cda26be2323353b63a05b42f61' (2023-05-06) → 'github:NixOS/nixpkgs/c568239bcc990050b7aedadb7387832440ad8fb1' (2023-05-07) • Updated input 'sops-nix': 'github:Mic92/sops-nix/fd2d857ce2450a3ba5700d1e95eb110070e0dbc3' (2023-05-07) → 'github:Mic92/sops-nix/36b062a2c85a0efb37de1300c79c54602a094fab' (2023-05-08) |
||
---|---|---|
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.