aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-09tahoe: enable network with early bootFranck Cuny1-11/+2
So we can unlock the disks remotely.
2022-04-08hosts: rename hardware-configuration to hardwareFranck Cuny1-1/+1
2022-04-08hosts: add services to tahoeFranck Cuny1-1/+8
2022-04-07initial attempt to reconfigure home-managerFranck Cuny1-0/+1
All the modules that are needed for home-manager should be under `home/`, and each host will have a `host.nix` where the modules are enabled as needed. Later on we can create some profiles to make it easier to consume the configuration. I apply this only to tahoe for now, as the amount of packages needed for my user are pretty limited.
2022-04-06refactor boot configuration to a moduleFranck Cuny1-1/+4
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-05network: move tailscale in modulesFranck Cuny1-20/+1
Move the networking configuration for the hosts to its own file.
2022-04-03Revert "create a new role for navidrome"Franck Cuny1-4/+2
This reverts commit 814a495e9c74e3211c6b6640397111115832207b.
2022-04-03create a new role for navidromeFranck Cuny1-2/+4
Apply the role to tahoe.
2022-03-12hosts: add profilesFranck Cuny1-1/+1
Profiles contain a collection of modules.
2022-03-06tahoe: enable tailscaleFranck Cuny1-0/+1
2022-03-05tahoe: remove creation of some directoriesFranck Cuny1-29/+9
2022-03-02tahoe: enable wireguardFranck Cuny1-0/+1
2022-02-27tahoe: create some directoriesFranck Cuny1-0/+15
Ensure at least /data/media/music is created with the proper ownership.
2022-02-27tahoe: include NAS profileFranck Cuny1-0/+1
2022-02-27hosts: add tahoe, the new NASFranck Cuny1-15/+2
2022-02-24agenix: store wireguard key in persistent storageFranck Cuny1-0/+7
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 Cuny1-0/+1
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-21aptos: switch to iwd and enable thermaldFranck Cuny1-3/+5
Replace wpa_supplicant with iwd (I prefer that daemon and the associated tool, iwctl). Enable thermald for managing power.
2022-02-21hosts: add aptosFranck Cuny1-10/+4
aptos is my laptop (dell xps 13'). This adds the initial configuration for it.
2022-02-18boot: reorganize and add commentsFranck Cuny1-11/+8
Most of the options for booting are common to all hosts.
2022-02-13hosts: load igb kernel module for initrdFranck Cuny1-0/+1
We need to load the driver for the NIC.
2022-02-13hosts: unlock disks remotely on bootFranck Cuny1-16/+4
Enable a SSH daemon in initrd, with our keys, so we can unlock remotely the disk on reboot.
2022-02-13hosts: remove configuration for ssh keys in initrdFranck Cuny1-1/+0
This is not working yet, we will figure this out later.
2022-02-13hosts: decrypt root disk via ssh on bootFranck Cuny1-0/+21
2022-02-12hosts: import common modulesFranck Cuny1-2/+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-12hosts: centralize network configurationFranck Cuny1-10/+15
2022-02-10hosts: set hostname from configurationFranck Cuny1-6/+2
2022-02-10fix a few errorsFranck Cuny1-0/+1
2022-02-10nix: fix a bunch of stuffFranck Cuny1-1/+0
2022-02-09hosts: use systemd-resolved on carmelFranck Cuny1-0/+6
2022-02-09hosts: remove usersFranck Cuny1-1/+0
2022-02-09hosts: remove / clean codeFranck Cuny1-44/+5
There's a lot of commented stuff I don't need, and move things that are configured in the host into modules, which will improve re-usability and readability of this configuration.
2022-02-09home-manager: simplify the configurationFranck Cuny1-0/+3
I'm still struggling with documentation, and I'd rather have something simple that works rather than smart and does not work. The configuration for the host imports the modules that are relevant to that host (in the case of carmel, desktop and systems). For the home-manager, I create a profile "desktop" that contains stuff related to a desktop (i3, etc), and it includes the module "common" that contains stuff that I want on any machines (so that in the future, for a machine that is a server, the home manager will only import "common").
2022-02-08hosts: remove unneeded commentsFranck Cuny1-6/+0
2022-02-08systems: move some packages out of host configFranck Cuny1-5/+0
2022-02-08carmel: use DHCP on the wireless interfaceFranck Cuny1-1/+2
2022-02-08xserver: initial configurationFranck Cuny1-8/+0
Enable it for the desktop.
2022-02-08systems: default configuration for all systemsFranck Cuny1-3/+0
2022-02-07carmel: initial host configurationFranck Cuny1-0/+96
Initial configuration for the desktop (carmel).