From 7cdbb693c58bcc7b07c0b86d09623d5936bdd748 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 2 Mar 2023 22:26:07 +0100 Subject: [PATCH] stuff --- README.md | 20 ++++++++++++++------ hosts/bolle/default.nix | 10 +++++----- users/pbsds/home/default.nix | 1 + 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0f19fd5..c5b62bc 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,26 @@ * [x] Split stuff into multiple files * [x] Make a flake * [x] merge hosted docs into a single subdomain -* [ ] pre-commit hook with 'nix eval' -* [ ] Setup some remote-development flow +* [ ] pre-commit hook with 'nix eval ...outPath' +* [ ] Setup some remote-development and deploy flow * [ ] users/pbsds: Support multiple profiles, like headless, nixpkgs-dev, various desktops, hpc, pvv, etc -* [ ] nixos-generate-config instructions -* [ ] zfs -* [ ] secrets +* [ ] nixos-generate-config instructions for new hosts +* [ ] zfs, declarative pools? +* [ ] secrets - nix-sops ? + * flexget + * transmission + * domeneshop +* [ ] hydra +* [ ] self-hosted binary cache (single-machine) (nix-serve, carinae, harmonia, eris or attic) + * https://discourse.nixos.org/t/announcing-harmonia-a-nix-binary-cache-written-in-rust/19855 + * https://discourse.nixos.org/t/introducing-attic-a-self-hostable-nix-binary-cache-server/24343/1 * [ ] profiles/web: make ACME/nginx helper a function * [ ] Support multiple tlds * [ ] Support multiple acme accounts * [ ] Support a per-account provider? * [ ] Support DNS auth - * [ ] Setup aliases instead of a per-subdomain cert + * [ ] Setup aliases instead of a per-vhost cert? + * [ ] Preferably setup a wildchar cert per host # Cheatsheet diff --git a/hosts/bolle/default.nix b/hosts/bolle/default.nix index 919c43e..64328aa 100644 --- a/hosts/bolle/default.nix +++ b/hosts/bolle/default.nix @@ -52,11 +52,15 @@ # Networking networking.networkmanager.enable = true; + /** / #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.iwd.enable = true networking.interfaces.eno1.ipv4.addresses = [ { address = "129.241.105.252"; prefixLength = 23; } ]; + networking.defaultGateway.address = "192.241.104.1"; + networking.defaultGateway.interface = "eno1"; + #networking.useDHCP = true; networking.nameservers = [ "129.241.0.200" "129.241.0.201" @@ -65,11 +69,7 @@ "8.8.8.8" "1.1.1.1" ]; - networking.defaultGateway = { - address = "192.168.1.254"; - interface = "eno1"; - }; - #networking.useDHCP = true; + /**/ # Installed system packages # TODO: prune this, make home-manager deal with the majority diff --git a/users/pbsds/home/default.nix b/users/pbsds/home/default.nix index 89336d5..1d2fc02 100644 --- a/users/pbsds/home/default.nix +++ b/users/pbsds/home/default.nix @@ -246,6 +246,7 @@ config.map-syntax = [ "poetry.toml:toml" "flake.lock:json" + "*.jsonl:json" ]; # only in unstable as of 22.11: #extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];