aboutsummaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-09remove `mkHome` from libFranck Cuny1-33/+0
home-manager configuration is used as a module, we don't have two different ways to configure the host anymore.
2022-04-08aptos: consume the new profilesFranck Cuny1-0/+4
aptos is now using the new home-manager setup.
2022-04-06refactor boot configuration to a moduleFranck Cuny1-1/+0
We don't need the previous `hosts/common/system` configs anymore, as everything has been moved out. We keep some boot configuration for carmel in the host configuration for now, but I need to check why I don't have similar settings for tahoe (since I also need to unlock the host remotely).
2022-04-05create a profile for laptopFranck Cuny1-0/+1
2022-04-05sound: add a new moduleFranck Cuny1-0/+1
This is the start of yet another refactoring of the configuration. Sound configuration is moving to a module, and we enable it as needed at the host level. It takes care of configuring pipewire and install the packages needed too. This module is applied to the laptop and the desktop.
2022-04-03home-manager: add `isTrusted`Franck Cuny1-1/+2
Install and configure some programs only on trusted machines. On trusted machines, my mails, GPG and a few other things are configured. A machine where this is not needed on a regular basis to get things done don't need that much information. Also rename `desktop/trust` to `trusted`, in case we want these packages on a host that is not a desktop, and `trusted` is a better description.
2022-04-03rename `desktop` to `isDesktop`Franck Cuny1-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`.
2022-03-02wireguard: revert to previous portFranck Cuny1-1/+1
2022-03-02wireguard: use agenix from the moduleFranck Cuny1-2/+8
This is the correct way to set up the private key, let's see if this works consistently across hosts and reboots.
2022-02-27flake: add new overlay: NURFranck Cuny1-1/+4
NUR is the nux user repository, which provides additional packages.
2022-02-24agenix: store wireguard key in persistent storageFranck Cuny1-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.
2022-02-21wireguard: module and peers configurationsFranck Cuny2-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.
2022-02-21agenix: add flake for agenixFranck Cuny1-0/+1
This will be used to store secrets in the repository.
2022-02-13emacs: pull community's overlayFranck Cuny1-0/+1
We need the community overlay to get the pure GTK port of Emacs for now.
2022-02-12hosts: import common modulesFranck Cuny1-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`.
2022-02-10lib: remove in-existing moduleFranck Cuny1-1/+0
2022-02-10fix a few errorsFranck Cuny1-1/+1
2022-02-10nix: fix a bunch of stuffFranck Cuny1-9/+5
2022-02-10home-manager: split the configurationFranck Cuny1-0/+62