Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | backups: unit to run maintenance on my backups | Franck Cuny | 2022-03-05 | 2 | -0/+26 |
| | | | | | This will be run via a timer once a day, to perform maintenance on my backups on the nas. | ||||
* | prometheus: scrape nodeexporter for the rtr | Franck Cuny | 2022-03-05 | 1 | -15/+24 |
| | |||||
* | samba: fix path for music, add videos | Franck Cuny | 2022-03-05 | 1 | -1/+7 |
| | |||||
* | tahoe: remove creation of some directories | Franck Cuny | 2022-03-05 | 1 | -29/+9 |
| | |||||
* | tahoe: new hardware configuratio | Franck Cuny | 2022-03-05 | 1 | -21/+13 |
| | |||||
* | aptos: remove mem_sleep_default | Franck Cuny | 2022-03-05 | 1 | -1/+0 |
| | | | | The laptop was rebooting when I'd open the lid. | ||||
* | tailscale: add tailscale to the laptop (aptos) | Franck Cuny | 2022-03-05 | 2 | -0/+7 |
| | |||||
* | aptos: nixfmt | Franck Cuny | 2022-03-04 | 1 | -17/+10 |
| | |||||
* | tahoe: enable wireguard | Franck Cuny | 2022-03-02 | 1 | -0/+1 |
| | |||||
* | grafana: disable analytics correctly | Franck Cuny | 2022-03-02 | 1 | -1/+2 |
| | |||||
* | wireguard: drop configuration for aptos | Franck Cuny | 2022-03-02 | 1 | -7/+0 |
| | | | | This is done in the module itself. | ||||
* | prometheus: relabel some machines | Franck Cuny | 2022-03-02 | 1 | -12/+20 |
| | | | | | Don't use the IP from wireguard as the name of the host, let's map to the actual hostname. | ||||
* | users: remove rsa key | Franck Cuny | 2022-03-02 | 1 | -1/+0 |
| | |||||
* | grafana: disable analytics | Franck Cuny | 2022-03-02 | 1 | -0/+1 |
| | |||||
* | grafana: provision dashboards | Franck Cuny | 2022-02-28 | 2 | -0/+14120 |
| | | | | Start with node-exporter-full dashboard. | ||||
* | grafana: setup provisioning correctly | Franck Cuny | 2022-02-28 | 1 | -6/+9 |
| | |||||
* | grafana: fix | Franck Cuny | 2022-02-28 | 1 | -1/+1 |
| | |||||
* | grafana: configure admin user and data sources | Franck Cuny | 2022-02-28 | 1 | -1/+9 |
| | |||||
* | grafana: initial configuration | Franck Cuny | 2022-02-28 | 2 | -0/+10 |
| | |||||
* | prometheus: initial configuration for the server | Franck Cuny | 2022-02-28 | 2 | -0/+30 |
| | | | | | | | Run prometheus via systemd, and configure to pull node-exporter's metrics from two hosts. The retention is set for 3 years. | ||||
* | users: change my ssh key for the laptop | Franck Cuny | 2022-02-27 | 1 | -1/+2 |
| | |||||
* | hosts: ensure we have bash and zsh | Franck Cuny | 2022-02-27 | 1 | -0/+3 |
| | |||||
* | nas: consume everything from the server profile | Franck Cuny | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | server: create a new profile | Franck Cuny | 2022-02-27 | 2 | -0/+19 |
| | | | | | This is a profile for servers related stuff. We start with monitoring for now. | ||||
* | tahoe: create some directories | Franck Cuny | 2022-02-27 | 1 | -0/+15 |
| | | | | Ensure at least /data/media/music is created with the proper ownership. | ||||
* | samba: fix configuration | Franck Cuny | 2022-02-27 | 1 | -3/+3 |
| | | | | | Some settings were missing, others incorrect, and the name of the share was also incorrect. | ||||
* | tahoe: include NAS profile | Franck Cuny | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | NAS: initial configuration | Franck Cuny | 2022-02-27 | 2 | -0/+34 |
| | | | | For now we only want samba on it. | ||||
* | hardware: enable btrfs scrubber and fstrimmer | Franck Cuny | 2022-02-27 | 1 | -0/+3 |
| | |||||
* | software: drop nautilus, add a few more things | Franck Cuny | 2022-02-27 | 1 | -4/+0 |
| | | | | | | | | | Replace nautilus with pcmanfm, which is more than enough for my needs (I still can't open correctly images / PDF with nautilus, I don't care why). Add a few more packages (seahorse, easyeffects) to improve usability of the desktop. | ||||
* | pam: drop GDM configuration | Franck Cuny | 2022-02-27 | 1 | -2/+0 |
| | | | | I don't use GDM anymore. | ||||
* | aptos: use the hardware module for xps9300 | Franck Cuny | 2022-02-27 | 2 | -1/+1 |
| | |||||
* | hardware: start capturing hardware related stuff | Franck Cuny | 2022-02-27 | 2 | -0/+10 |
| | | | | | Create a new module for hardware related things, in order to configure correctly the various machines. | ||||
* | hosts: add tahoe, the new NAS | Franck Cuny | 2022-02-27 | 2 | -0/+111 |
| | |||||
* | agenix: store wireguard key in persistent storage | Franck Cuny | 2022-02-24 | 1 | -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. | ||||
* | gnome: add more gnome settings | Franck Cuny | 2022-02-24 | 1 | -1/+14 |
| | | | | | | | Without these settings a few things are not working correctly (nautilus can't browse ssh servers for example). This module needs to be renamed too. | ||||
* | xserver: drop it completely | Franck Cuny | 2022-02-24 | 1 | -14/+0 |
| | | | | | | | | | | | | | Let's remove this, I was only using it to get GDM running, but that's causing a bunch of issues so far: - not all environment variables are loaded correctly - some units are not loaded in time When trying to use xorg and i3, I have way too many tears and I can't figure out a proper configuration. To make it easier, I'm going to keep sway and start `sway` from `tty1` directly. | ||||
* | ssh: authenticate only using ssh key | Franck Cuny | 2022-02-21 | 1 | -0/+1 |
| | |||||
* | wireguard: module and peers configurations | Franck Cuny | 2022-02-21 | 1 | -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. | ||||
* | system: install a few more packages | Franck Cuny | 2022-02-21 | 1 | -1/+10 |
| | |||||
* | users: add ssh keys for aptos and carmel | Franck Cuny | 2022-02-21 | 1 | -2/+2 |
| | |||||
* | fonts: add font-awesome for i3status | Franck Cuny | 2022-02-21 | 1 | -0/+1 |
| | |||||
* | aptos: switch to iwd and enable thermald | Franck Cuny | 2022-02-21 | 1 | -3/+5 |
| | | | | | | | Replace wpa_supplicant with iwd (I prefer that daemon and the associated tool, iwctl). Enable thermald for managing power. | ||||
* | hosts: add aptos | Franck Cuny | 2022-02-21 | 2 | -0/+91 |
| | | | | | aptos is my laptop (dell xps 13'). This adds the initial configuration for it. | ||||
* | xserver: add at-spi2-core package | Franck Cuny | 2022-02-18 | 1 | -1/+5 |
| | | | | | See https://github.com/NixOS/nixpkgs/issues/16327 for details (this removes warnings in some services) | ||||
* | boot: fix the prefix | Franck Cuny | 2022-02-18 | 1 | -1/+1 |
| | |||||
* | xserver: natural scrolling is part of touchpad. | Franck Cuny | 2022-02-18 | 1 | -1/+1 |
| | |||||
* | fonts: rename some options | Franck Cuny | 2022-02-18 | 1 | -2/+1 |
| | | | | | `fontconfig.ultimate` does not exists anymore, and `enableFontDir` has been renamed to `fontDir.enable`. | ||||
* | system: add locale and security | Franck Cuny | 2022-02-18 | 3 | -2/+19 |
| | |||||
* | desktop: enable natural scrolling | Franck Cuny | 2022-02-18 | 1 | -2/+4 |
| | |||||
* | boot: reorganize and add comments | Franck Cuny | 2022-02-18 | 2 | -11/+16 |
| | | | | Most of the options for booting are common to all hosts. | ||||
* | fonts: add more fonts for the system | Franck Cuny | 2022-02-18 | 1 | -1/+8 |
| | |||||
* | sway: configure correctly dbus / keyring | Franck Cuny | 2022-02-17 | 1 | -8/+16 |
| | |||||
* | sway: install all the required packages | Franck Cuny | 2022-02-16 | 1 | -1/+15 |
| | |||||
* | home-manager: move activate logic in users' config | Franck Cuny | 2022-02-16 | 1 | -4/+1 |
| | |||||
* | hosts: remove btrfs subvolume 'media' | Franck Cuny | 2022-02-16 | 1 | -6/+0 |
| | | | | | The host would not boot successfully with that, I'm doing something wrong. | ||||
* | hosts: add a new subvolumes to carmel | Franck Cuny | 2022-02-14 | 1 | -0/+6 |
| | | | | | Create a subvolume named 'media' that we will mount under /home/fcuny/media so we can snapshots /home/fcuny without the medias. | ||||
* | hosts: enable rtkit with audio module | Franck Cuny | 2022-02-14 | 1 | -0/+2 |
| | |||||
* | hosts: load igb kernel module for initrd | Franck Cuny | 2022-02-13 | 1 | -0/+1 |
| | | | | We need to load the driver for the NIC. | ||||
* | hosts: unlock disks remotely on boot | Franck Cuny | 2022-02-13 | 3 | -19/+28 |
| | | | | | Enable a SSH daemon in initrd, with our keys, so we can unlock remotely the disk on reboot. | ||||
* | desktop: ensure we're installing sway | Franck Cuny | 2022-02-13 | 1 | -1/+7 |
| | |||||
* | hosts: remove configuration for ssh keys in initrd | Franck Cuny | 2022-02-13 | 1 | -1/+0 |
| | | | | This is not working yet, we will figure this out later. | ||||
* | motd: drop, there's no need for that | Franck Cuny | 2022-02-13 | 2 | -13/+0 |
| | |||||
* | sway: first attempt at configuring sway | Franck Cuny | 2022-02-13 | 1 | -11/+3 |
| | | | | | Let's switch right away to sway instead, now that there's an emacs package to support wayland. | ||||
* | hosts: install linux perf tools for the host | Franck Cuny | 2022-02-13 | 1 | -1/+8 |
| | |||||
* | hosts: decrypt root disk via ssh on boot | Franck Cuny | 2022-02-13 | 3 | -0/+27 |
| | |||||
* | desktop: gnome related things | Franck Cuny | 2022-02-13 | 1 | -1/+10 |
| | |||||
* | hosts: enable avahi on desktop | Franck Cuny | 2022-02-13 | 1 | -0/+5 |
| | | | | This is going to be needed to print (for example). | ||||
* | hosts: load services at the host level | Franck Cuny | 2022-02-12 | 1 | -0/+15 |
| | | | | | | These services are not configured at the user level, but at the host level. We might need a better separation in the future, in case I don't use xserver for example. | ||||
* | hosts: rename commons to common | Franck Cuny | 2022-02-12 | 13 | -0/+0 |
| | |||||
* | hosts: import common modules | Franck Cuny | 2022-02-12 | 1 | -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`. | ||||
* | move configurations and modules around | Franck Cuny | 2022-02-12 | 13 | -10/+187 |
| | | | | Sorry, this is a mess, hopefully the last one. | ||||
* | hosts: more typo | Franck Cuny | 2022-02-12 | 1 | -1/+1 |
| | |||||
* | hosts: typo | Franck Cuny | 2022-02-12 | 1 | -1/+2 |
| | |||||
* | hosts: centralize network configuration | Franck Cuny | 2022-02-12 | 3 | -10/+37 |
| | |||||
* | hosts: set hostname from configuration | Franck Cuny | 2022-02-10 | 1 | -6/+2 |
| | |||||
* | fix a few errors | Franck Cuny | 2022-02-10 | 1 | -0/+1 |
| | |||||
* | hosts: common configuration across all hosts | Franck Cuny | 2022-02-10 | 1 | -0/+12 |
| | |||||
* | nix: fix a bunch of stuff | Franck Cuny | 2022-02-10 | 1 | -1/+0 |
| | |||||
* | hosts: use systemd-resolved on carmel | Franck Cuny | 2022-02-09 | 1 | -0/+6 |
| | |||||
* | hosts: remove users | Franck Cuny | 2022-02-09 | 1 | -1/+0 |
| | |||||
* | hosts: remove / clean code | Franck Cuny | 2022-02-09 | 1 | -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. | ||||
* | home-manager: simplify the configuration | Franck Cuny | 2022-02-09 | 1 | -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"). | ||||
* | hosts: remove unneeded comments | Franck Cuny | 2022-02-08 | 1 | -6/+0 |
| | |||||
* | systems: move some packages out of host config | Franck Cuny | 2022-02-08 | 1 | -5/+0 |
| | |||||
* | carmel: use DHCP on the wireless interface | Franck Cuny | 2022-02-08 | 1 | -1/+2 |
| | |||||
* | xserver: initial configuration | Franck Cuny | 2022-02-08 | 1 | -8/+0 |
| | | | | Enable it for the desktop. | ||||
* | systems: default configuration for all systems | Franck Cuny | 2022-02-08 | 1 | -3/+0 |
| | |||||
* | carmel: initial host configuration | Franck Cuny | 2022-02-07 | 2 | -0/+144 |
Initial configuration for the desktop (carmel). |