about summary refs log tree commit diff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename `desktop` to `isDesktop`Franck Cuny2022-04-031-2/+2
| | | | | | | | The variable is used to define the kind of machine we're managing. `isDesktop` is a bit more descriptive. We import `devel` for all machines, and we fine tune which packages we want to install based on the value of `isDesktop`.
* wireguard: revert to previous portFranck Cuny2022-03-021-1/+1
|
* wireguard: use agenix from the moduleFranck Cuny2022-03-021-2/+8
| | | | | This is the correct way to set up the private key, let's see if this works consistently across hosts and reboots.
* flake: add new overlay: NURFranck Cuny2022-02-271-1/+4
| | | | NUR is the nux user repository, which provides additional packages.
* agenix: store wireguard key in persistent storageFranck Cuny2022-02-241-4/+2
| | | | | | The key was created under /run/agenix, which is wiped out after a reboot. The key being absent prevents the wireguard interface to come up. Store the key somewhere persistent to prevent this to happen.
* wireguard: module and peers configurationsFranck Cuny2022-02-212-0/+45
| | | | | | | | | Add a new module to automatically configure the peers for wireguard. The module needs a configuration file (in `configs/wireguard.toml`) which lists all the peers, their IP and and their public keys. The secret keys is encrypted as a secret with agenix. There's some initial documentation on how to use this setup.
* agenix: add flake for agenixFranck Cuny2022-02-211-0/+1
| | | | This will be used to store secrets in the repository.
* emacs: pull community's overlayFranck Cuny2022-02-131-0/+1
| | | | We need the community overlay to get the pure GTK port of Emacs for now.
* hosts: import common modulesFranck Cuny2022-02-121-1/+1
| | | | | | Update the `mkSystem` function to include the proper common module, and fix the path to import the common configuration for a desktop into `carmel`.
* lib: remove in-existing moduleFranck Cuny2022-02-101-1/+0
|
* fix a few errorsFranck Cuny2022-02-101-1/+1
|
* nix: fix a bunch of stuffFranck Cuny2022-02-101-9/+5
|
* home-manager: split the configurationFranck Cuny2022-02-101-0/+62