aboutsummaryrefslogtreecommitdiff
path: root/nix/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* configure the nixbld GID in the host configuration directlyFranck Cuny2025-07-171-2/+0
|
* build and deploy my personal website on the VMFranck Cuny2025-07-171-1/+4
|
* various fixes for nix 25.05Franck Cuny2025-07-061-40/+45
|
* backup the VM to Google Cloud StorageFranck Cuny2025-06-301-0/+1
| | | | For now we only backup git repositories.
* add configuration for vm-synologyFranck Cuny2025-06-301-0/+2
| | | | | This is a VM running on the Synology NAS. For now it only run `gitolite`, but we may host additional services in the future.
* simplify how we're managing templates for `llm`Franck Cuny2025-06-121-0/+1
| | | | | | | | Add the variable `configPath` to home-manager, to map directly to the top level configuration of the current user (`./configs/users/$user'). Add a function to generate the mapping for all the templates we need for the `llm` CLI.
* pass `self` to the home-manager modulesFranck Cuny2025-06-121-7/+14
| | | | | This is to avoid using relative paths, which is always annoying to get right.
* use agenix to manage some secretsFranck Cuny2025-06-081-0/+3
| | | | | | | | | | | I have some secrets that I want to manage for my user without having to rely on 1password, and ensure proper rotation everywhere when needed. For now we only have two secrets (one for `llm` and another one is the API key for anthropic for Emacs). Will document the process better in the near future.
* don't install packages via homebrewFranck Cuny2025-04-291-0/+20
| | | | | | | We can install everything through nix at this point. Add a helper function to check the type of the machine so we can install some packages for work vs. personal.
* build python packages for llmFranck Cuny2025-04-242-10/+8
| | | | | | | | To get a more recent version of the llm python tool and the anthropic module, we need to build the packages ourselves. Refactor how we're building overlays to make it easier to add new packages using the `pkgsUnstable` set.
* remove secrets and agenix since nothing uses themFranck Cuny2024-12-281-2/+0
|
* switch to the newer version of nixfmtFranck Cuny2024-12-192-13/+19
| | | | | | `nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository.
* use treefmt to format all the filesFranck Cuny2024-12-192-9/+6
|
* install some tools only on work machineFranck Cuny2024-12-181-0/+1
|
* add support for overlays and add one for `sapi'Franck Cuny2024-12-181-0/+6
|
* refactor home-managerFranck Cuny2024-12-161-1/+4
| | | | Only install what's needed for specific OSes.
* use agenix to manage secrets in the repositoryFranck Cuny2024-12-141-0/+2
|
* move each machine into a directoryFranck Cuny2024-12-091-1/+1
| | | | it will be easier to break down some configs.
* refactor overall configurationFranck Cuny2024-12-081-0/+50
The configuration of the various hosts and home-manager was becoming a bit complex for no valid reasons. Try to simplify this a bit.