• 0 Posts
  • 14 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
rss
  • If you have the docker-compose.yml locally, you can nix run github:aksiksi/compose2nix to translate it into a nix file for inclusion in your nixos system config. I think that could be done in the config itself with a git url but I’m not that great at nix. You will surely still need some manual config to e.g. set environment variables for paths and secrets.


  • How do the DNS servers resolve local hostnames then? The pihole DHCP integration adds local hostnames to DNS when they are assigned an address. If there’s two DHCP servers handing out leases, presumable only one would be accepted, how then would the DNS servers sync those names?

    I think I had my secondary pihole resolve local names from the primary, and leases were copied over on a cronjob in case the secondary DHCP server had to be enabled.



  • Where do you do DHCP? I had a primary pihole with DHCP enabled and a secondary with a cron job that enabled DHCP if the primary was down or disabled it if the primary was working. The cron job did sync DHCP leases from one to the other but it was a bit janky. I tried to update the secondary to pihole v6 and hosed it so I have no backup for now. I’d like to re-image the secondary and get a better setup - when I have time.

    Edit to say I really wanted to try keepalived - that’s really cool to fail over without clients noticing.


  • I think this wiki cheetsheet will explain some of the defaults. Pretty much everything is controlled with a keybind using the meta/super (windows) key. Mod + d should open the launcher, I only used dmenu but yours might be something else. The launcher will let you launch applications by name. If you just want a terminal, Mod + Enter will open one.

    You will want to look at your config. It should live in ~/.config/sway/config. If it’s not there then mkdir ~/.config/sway/ && cp /etc/sway/config ~/.config/sway/. That should list the keybinds you have set. You can look up the options in the man page for sway.

    Once you can do some basic window control, you might want to customise the status bar. The config should tell you what bar is being used, but there are a huge array of statusbars to choose from - I used i3status-rust but try searching for i3/sway statusbars to see what’s out there.