about summary refs log tree commit diff
path: root/home/rust (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-04-15hosts/carmel: don't log dns queries in dnsmasqFranck Cuny1-1/+0
This is way too verbose
2023-04-15hosts/carmel: start dnsmasq once network interfaces are onlineFranck Cuny1-0/+7
2023-04-15hosts/carmel: don't release DHCP lease on wan interfaceFranck Cuny1-0/+3
No need to release the lease if we are rebooting.
2023-04-13home/alacritty: smaller fontFranck Cuny1-1/+1
2023-04-13home/shell: alias to show DHCP leasesFranck Cuny1-0/+1
2023-04-13modules/grafana: delete the dashboard for the routerFranck Cuny1-3784/+0
It's now managed in https://git.fcuny.net/monitoring/
2023-04-06hosts/carmel: serve the leases on port 8067Franck Cuny1-4/+7
Bind to the wireguard interface, and use the port 8067 (67 is the port used for DHCP requests).
2023-04-06hosts/carmel: run dnsmasql-to-html when leases changeFranck Cuny1-1/+4
The option `dhcp-script` can be used to run a script every time a new lease is added or deleted. We configure this option to run the script that generates a static HTML file with the leases.
2023-04-06tools/dnsmasq-leases-html: create a HTML page with leases from dnsmasqFranck Cuny6-1/+172
Parse the file that contains all the leases assigned by dnsmasq, and create a static HTML page from it. This can be served by nginx to make it easy to see what IP is assigned to a machine, and which machines are currently on the network.
2023-04-05monitoring: small fixesFranck Cuny2-1177/+0
2023-04-05hosts/carmel: the wireguard interface is trustedFranck Cuny1-1/+1
2023-04-05modules/prometheus: fix IP addressesFranck Cuny1-29/+7
2023-04-05wireguard: fix configuration of a few hostsFranck Cuny1-7/+2
2023-04-05hosts/carmel: add wireguard keyFranck Cuny4-2/+25
2023-04-05hosts/carmel: drop checkReversePathFranck Cuny1-3/+0
This is managed in the tailscale module.
2023-04-05hosts/carmel: enable tailscaleFranck Cuny1-0/+2
2023-04-03hosts/carmel: more options for dnsmasqFranck Cuny1-0/+2
2023-04-03hosts/carmel: add a few more options for dnsmasqFranck Cuny1-0/+6
2023-04-03hosts/carmel: enable prometheus exporter for DNSmasqFranck Cuny1-0/+5
2023-04-03hosts/carmel: reconfigure the host as a routerFranck Cuny14-118/+233
I'm not using it as a desktop, and the current router is getting old and will likely fail in the near future. It's also a debian machine configured manually, so let's reconfigure carmel as our new router. There are three NICs in the host: 2 are 10Gb and one is 1Gb. The 1Gb will be used as the upstream interface, and one of the 10Gb will be for the LAN. There are 2 VLANs to configure: one for IoT devices and one for guest.
2023-04-02flake: fix URL for sendsmsFranck Cuny2-7/+7
2023-03-31home/wayland: tweaks for mako and wofiFranck Cuny2-1/+7
2023-03-31home/sway: start sway and ssh-agent properlyFranck Cuny4-14/+20
I only need to run sway and the ssh-agent on a workstation (desktop or laptop). Start these two processes when the window manager starts.
2023-03-27modules/sendsms: gate the unit with a fileFranck Cuny6-6/+210
To prevent the unit to be triggered multiple times if the host has already rebooted, we create a gate file when we're done running, and before running, we check if the file exists. Enable the service on tahoe. Don't restart the unit when its definition has changed.
2023-03-26modules/console: fix syntaxFranck Cuny1-1/+1
2023-03-26modules/console: larger font for EVERYONEFranck Cuny2-9/+3
2023-03-26hosts/tahoe: set a larger font for the TTYsFranck Cuny1-0/+8
2023-03-19modules/cgit: get rid of double quotesFranck Cuny1-2/+2
2023-03-19home/matrix: switch back to elementFranck Cuny1-5/+1
fractal requires the gnome key chain but I got rid of it.
2023-03-18home/fonts: be more consistent in my choicesFranck Cuny4-9/+13
- source code pro for monospace - dejavu sans for sans serif - dejavu serif for serif
2023-03-15hosts: it's time to switch to schedutilFranck Cuny2-2/+4
2023-03-14home/sway: a bunch of small tweaksFranck Cuny3-16/+12
2023-03-14modules/fonts: add more fontsFranck Cuny1-3/+14
2023-03-14home/mpv: more configuration tweaksFranck Cuny1-0/+7
2023-03-14home/shell: a few more tweaks to zshFranck Cuny3-2/+5
2023-03-14hosts/tahoe: set the consoleMode to "max"Franck Cuny1-0/+3
2023-03-13home/git: some cleanupFranck Cuny3-17/+5
- add a comment for each ssh-key that is not stored on a yubikey - simplify the git commit template - remove some extra config that I don't need
2023-03-13home/passage: delete all references to password-storeFranck Cuny2-28/+5
I completely replaced the usage of `pass' with `passage'. There's no need to keep a mapping file at this point, since my interaction with the git server is through ssh.
2023-03-12home/alacritty: better (to me) colorsFranck Cuny1-0/+28
2023-03-12home/shell: aliases and cleaner promptFranck Cuny2-1/+2
2023-03-12home/yubikey: install (and run) yubikey-touch-detectorFranck Cuny1-1/+25
This is a useful tool to know when I'm supposed to touch my yubikey (sometimes I forget that some actions require that). Also configure a systemd unit to run it, and configure it to send a notification to the desktop (at the moment this is consumed by mako).
2023-03-12home/secrets: delete the one for gcloudFranck Cuny2-4/+1
Turns out I don't need this one!
2023-03-12tools: delete dns-updaterFranck Cuny7-882/+0
The code has moved to https://git.fcuny.net/dns-updater/
2023-03-11home/gpg: disable the agentFranck Cuny1-1/+1
I do not need an agent anymore, since I don't need to decrypt anything in GPG at this point!
2023-03-11home/yt-dlp: update configurationFranck Cuny1-1/+3
2023-03-11home/zsh: load ssh-agent before swayFranck Cuny1-1/+2
We need to start the ssh agent (if needed) before we start sway.
2023-03-11home/swaybar: add an indicator for systemd unitFranck Cuny2-3/+38
Reports the number of systemd units (user and systems) that are in failed state.
2023-03-11home/shell: switch the default shell back to zshFranck Cuny9-9/+49
I keep running into issues when using fish: I'm not familiar with the syntax and I don't use it enough that it sticks. I also need to google stuff regularly to figure out how things are supposed to work. This is annoying enough that the supposed benefits of fish are not worth it for me.
2023-03-11secrets: move aptos' gcloud secrets to homeageFranck Cuny4-8/+7
This secret is not needed system wide, I only need it to run some tools.
2023-03-11secrets: use homeage to manage secrets for home-managerFranck Cuny5-5/+47
Instead of using agenix for all the secrets, I can use homeage for secrets that are related to my user sessions. Secrets by default will be store under `~/.secrets'. They are encrypted using `age' and to decrypt them, a key is expected to be located under `~/.age/key.txt'. The last place where I was using `pass' (and so GPG too) was for the secrets for `mbsync': this change adds a secret for fastmail to the repository and update `mbsync' configuration to use it.
2023-03-10home/gnome: no more keyringFranck Cuny6-31/+2
I used the keyring only to start the GPG agent and unlock the ssh keys. But since I'm storing the ssh keys on yubikeys and I don't use GPG, I can remove it.
2023-03-10home/pass: configure passage properlyFranck Cuny1-15/+2
I need to be explicit about the path to the identity file. Since I'm switching from pass to passage, I also want to disable the automatic synchronization of the repository, and I don't need to have a wrapper for git to push the secrets (I push through ssh now instead of HTTPS).
2023-03-10documentation: clean upFranck Cuny3-68/+29
Delete gnome's keyring documentation, I will not be using it anymore, so no need to keep this around. Add documentation about how to manage secrets, and clean up wireguard's documentation.
2023-03-10hosts/tahoe: delete unused secretsFranck Cuny3-5/+0
2023-03-10hosts/tahoe: re-key all the secrets with age identitiesFranck Cuny12-32/+41
This is using the public keys from: - my user on my laptop - the root user on tahoe - the backup key stored on the USB drive
2023-03-10hosts/aptos: re-key all the secrets with age identitiesFranck Cuny6-18/+19
This is now using the public keys from various age keys: - one for my user on the laptop - one for the root user on the laptop - one backup key stored on the USB drive
2023-03-10modules/secrets: use age keys for agenix' identityFranck Cuny1-2/+5
I'll re-key all my secrets with age keys instead of using ssh keys. This change is to specify the path for the identities when agenix decrypts the secrets.
2023-03-10home/git: diff the content for age encrypted filesFranck Cuny2-0/+5
2023-03-04fix(home/wm): `programs.mako' has been renamed to `services.mako'Franck Cuny1-1/+1
See https://github.com/nix-community/home-manager/pull/3265
2023-03-04flake.lock: UpdateFranck Cuny1-726/+29
Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/5f66c8aa774d8d488cba1cdc4f0c954d2a14e3a1' (2023-02-20) → 'github:ryantm/agenix/1abf0ade92bdf9dbcaa5155bb39e3ae19cb98aaa' (2023-03-04) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/d7eeebd439b52b77958eb3d8043f3262701ddee2' (2023-02-20) → 'github:nix-community/emacs-overlay/2efd7c8d60ce0750097bbd327ec083e3ce545b31' (2023-03-04) • Removed input 'gh-ssh-keys' • Removed input 'gh-ssh-keys/crane' • Removed input 'gh-ssh-keys/crane/flake-compat' • Removed input 'gh-ssh-keys/crane/flake-utils' • Removed input 'gh-ssh-keys/crane/nixpkgs' • Removed input 'gh-ssh-keys/crane/rust-overlay' • Removed input 'gh-ssh-keys/crane/rust-overlay/flake-utils' • Removed input 'gh-ssh-keys/crane/rust-overlay/nixpkgs' • Removed input 'gh-ssh-keys/flake-utils' • Removed input 'gh-ssh-keys/nixpkgs' • Removed input 'gh-ssh-keys/pre-commit-hooks' • Removed input 'gh-ssh-keys/pre-commit-hooks/flake-utils' • Removed input 'gh-ssh-keys/pre-commit-hooks/nixpkgs' • Removed input 'gh-ssh-keys/rust-overlay' • Removed input 'gh-ssh-keys/rust-overlay/flake-utils' • Removed input 'gh-ssh-keys/rust-overlay/nixpkgs' • Updated input 'home-manager': 'github:nix-community/home-manager/72ce74d3eae78a6b31538ea7ebe0c1fcf4a10f7a' (2023-02-20) → 'github:nix-community/home-manager/b9e3a29864798d55ec1d6579ab97876bb1ee9664' (2023-03-02) • Removed input 'masked-emails' • Removed input 'masked-emails/crane' • Removed input 'masked-emails/crane/flake-compat' • Removed input 'masked-emails/crane/flake-utils' • Removed input 'masked-emails/crane/nixpkgs' • Removed input 'masked-emails/crane/rust-overlay' • Removed input 'masked-emails/crane/rust-overlay/flake-utils' • Removed input 'masked-emails/crane/rust-overlay/nixpkgs' • Removed input 'masked-emails/flake-utils' • Removed input 'masked-emails/nixpkgs' • Removed input 'masked-emails/pre-commit-hooks' • Removed input 'masked-emails/pre-commit-hooks/flake-compat' • Removed input 'masked-emails/pre-commit-hooks/flake-utils' • Removed input 'masked-emails/pre-commit-hooks/gitignore' • Removed input 'masked-emails/pre-commit-hooks/gitignore/nixpkgs' • Removed input 'masked-emails/pre-commit-hooks/nixpkgs' • Removed input 'masked-emails/pre-commit-hooks/nixpkgs-stable' • Removed input 'masked-emails/rust-overlay' • Removed input 'masked-emails/rust-overlay/flake-utils' • Removed input 'masked-emails/rust-overlay/nixpkgs' • Updated input 'naersk/nixpkgs': 'github:NixOS/nixpkgs/a1291d0d020a200c7ce3c48e96090bfa4890a475' (2023-02-19) → 'github:NixOS/nixpkgs/f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb' (2023-03-03) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0cf4274b5d06325bd16dbf879a30981bc283e58a' (2023-02-19) → 'github:NixOS/nixpkgs/96e18717904dfedcd884541e5a92bf9ff632cf39' (2023-03-02) • Updated input 'nur': 'github:nix-community/NUR/3c39aebcd09c9d6c257140e07f3d2beac4a83043' (2023-02-20) → 'github:nix-community/NUR/2860ab344d033a877e6a03f1c33cb4b7b5e05ddf' (2023-03-04) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20) → 'github:cachix/pre-commit-hooks.nix/382bee738397ca005206eefa36922cc10df8a21c' (2023-03-03) • Updated input 'rust': 'github:oxalica/rust-overlay/98f11700e398cf2ae6da905df56badc17e265021' (2023-02-20) → 'github:oxalica/rust-overlay/c25d3e1951863ac0061d47a3fabf9aa7c91db5e5' (2023-03-04) • Removed input 'sendsms' • Removed input 'sendsms/crane' • Removed input 'sendsms/crane/flake-compat' • Removed input 'sendsms/crane/flake-utils' • Removed input 'sendsms/crane/nixpkgs' • Removed input 'sendsms/crane/rust-overlay' • Removed input 'sendsms/crane/rust-overlay/flake-utils' • Removed input 'sendsms/crane/rust-overlay/nixpkgs' • Removed input 'sendsms/flake-utils' • Removed input 'sendsms/nixpkgs' • Removed input 'sendsms/pre-commit-hooks' • Removed input 'sendsms/pre-commit-hooks/flake-utils' • Removed input 'sendsms/pre-commit-hooks/nixpkgs' • Removed input 'sendsms/rust-overlay' • Removed input 'sendsms/rust-overlay/flake-utils' • Removed input 'sendsms/rust-overlay/nixpkgs' • Removed input 'x509-tools' • Removed input 'x509-tools/crane' • Removed input 'x509-tools/crane/flake-compat' • Removed input 'x509-tools/crane/flake-utils' • Removed input 'x509-tools/crane/nixpkgs' • Removed input 'x509-tools/crane/rust-overlay' • Removed input 'x509-tools/crane/rust-overlay/flake-utils' • Removed input 'x509-tools/crane/rust-overlay/nixpkgs' • Removed input 'x509-tools/flake-utils' • Removed input 'x509-tools/nixpkgs' • Removed input 'x509-tools/pre-commit-hooks' • Removed input 'x509-tools/pre-commit-hooks/flake-utils' • Removed input 'x509-tools/pre-commit-hooks/nixpkgs' • Removed input 'x509-tools/rust-overlay' • Removed input 'x509-tools/rust-overlay/flake-utils' • Removed input 'x509-tools/rust-overlay/nixpkgs'
2023-03-04ref: don't use my custom tools for nowFranck Cuny4-39/+3
I'm rewriting them in go and they are not ready to be used yet.
2023-03-03ref(templates): drop drone/GHA supportFranck Cuny4-113/+0
2023-03-03meta: convert README from org-mode to markdownFranck Cuny2-29/+40
2023-03-02ref(hosts/tahoe): don't install sendsmsFranck Cuny1-1/+0
It's not working as I want, let's fix it first then we can enable it again later.
2023-03-02ref(home/drone): remove droneFranck Cuny1-1/+0
It's not running anymore.
2023-03-02ci: remove drone's configurationFranck Cuny1-14/+0
drone is not running anymore
2023-03-02feat(hosts/tahoe): install gitolite and cgitFranck Cuny4-9/+145
Replace gitea with gitolite + cgit. I don't need a whole git forge for myself, especially since I don't use most of the features. The main thing I'm losing with this change is CI (via drone), but this is not really a big loss for now.
2023-02-21fix(home/age): use `rage' for `passage'Franck Cuny1-0/+4