Commit Graph

1403 Commits

Author SHA1 Message Date
colin 8115edea8d readme: fix some outdated info 2023-01-11 09:53:27 +00:00
colin 4c475bbf9c flake: formatting nit 2023-01-11 09:33:59 +00:00
colin 7040e1f07c flake: rename decl-host -> evalHost 2023-01-11 09:31:05 +00:00
colin aafa64942c flake: simplify the definition of `packages` 2023-01-11 09:29:49 +00:00
colin a44a99e371 flake: simplify the imgs/nixosConfigurations definition 2023-01-11 09:24:24 +00:00
colin a7ff90c843 flake: nixpkgs can now be built without specifying `nixpkgs.` as a prefix 2023-01-11 09:21:09 +00:00
colin d4996d6f31 flake: fix passthru overlays (fixes broken image building) 2023-01-11 09:08:46 +00:00
colin bd5209c655 move cross compilation out of the flake and into the host definitions 2023-01-11 08:56:06 +00:00
colin 9588108fd5 restructure flake so that nixosConfigurations mostly just references the other flake outputs 2023-01-11 08:45:41 +00:00
colin 942e302afb flake: fix crossFrom.aarch64-linux to actually be compiled from that system 2023-01-11 07:51:19 +00:00
colin 2bd98e6764 flake: clean up nixpkgsFor-related functions 2023-01-11 07:50:32 +00:00
colin 7b9910f287 reorder `pkgs.cross` definition for better readability 2023-01-11 07:37:01 +00:00
colin 917afe209e try to do cross-compiling in a slightly less hacky way 2023-01-11 07:22:21 +00:00
colin cc5cf9b6f4 flake: format 2023-01-11 05:58:07 +00:00
colin 57d95dd298 flake: document the weird importing 2023-01-10 17:51:04 +00:00
colin 0b78df53be change the nixpkgs url type so that it hashes stably 2023-01-10 17:44:58 +00:00
colin c8dcb4ac59 flake: lift the nixpkgs patching out to its own flake
i hope it's a *little* cleaner this way, but tbh i'm not really sure.
2023-01-10 17:00:48 +00:00
colin 241f4ae58f packages: add `nano` for when things go really wrong 2023-01-10 12:53:54 +00:00
colin 965d7eedbb define a per-feed update script
it currently has to be run manually:
```
./pkgs/feeds/update.sh <...>
```

it looks like `nix-update` might not really support flakes
2023-01-10 10:53:59 +00:00
colin cdc881e887 feeds: write the basis for a module which reads feed metadata from disk and can (in the future) update it 2023-01-10 03:52:33 +00:00
colin 33967554a5 servo: fix missing "lib" in nginx file 2023-01-09 13:25:56 +00:00
colin 5af55ecdbf merge: cleanup/document 2023-01-09 11:47:39 +00:00
colin 6ca3e7086e merge: simplify the implementation and make fully compatible with lib.mkMerge 2023-01-09 11:14:59 +00:00
colin ca62f1b62f rename `flattenAttrsets` -> `joinAttrsets` to disambiguate 2023-01-09 09:52:37 +00:00
colin eef66df36d lib: split `merge` out of the toplevel 2023-01-09 09:51:35 +00:00
colin 9ca6a1c907 way overcomplicated way to merge toplevel config 2023-01-09 09:42:17 +00:00
colin dbb78088f4 refactor: cleanup instances where we map to attrs to be more resilient against duplicate names 2023-01-09 03:48:07 +00:00
colin f17ae1ca7b refactor: avoid using // where we know the sets should be disjoint 2023-01-09 03:11:14 +00:00
colin b2774a4004 move pubkeys out a modules/data/ directory 2023-01-09 02:40:25 +00:00
colin 0ae548d47c flake update: nixpkgs 2023-01-04 -> 2023-01-05; sops
vim was segfaulting?? i'm hoping this fixes it, we'll see.

```
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9813adc7f7c0edd738c6bdd8431439688bb0cb3d' (2023-01-04)
  → 'github:NixOS/nixpkgs/a518c77148585023ff56022f09c4b2c418a51ef5' (2023-01-05)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/e9ade2c8240e00a4784fac282a502efff2786bdc' (2023-01-04)
  → 'github:NixOS/nixpkgs/8c54d842d9544361aac5f5b212ba04e4089e8efe' (2023-01-08)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/b35586cc5abacd4eba9ead138b53e2a60920f781' (2023-01-01)
  → 'github:Mic92/sops-nix/2253120d2a6147e57bafb5c689e086221df8032f' (2023-01-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/feda52be1d59f13b9aa02f064b4f14784b9a06c8' (2022-12-31)
  → 'github:NixOS/nixpkgs/9f11a2df77cb945c115ae2a65f53f38121597d73' (2023-01-07)
```
2023-01-08 23:52:40 +00:00
colin 760505db20 snippets: add NUR package search 2023-01-08 14:16:06 +00:00
colin 71fc1a2fd7 ssh: define system-wide knownHosts 2023-01-08 08:51:06 +00:00
colin a457fc1416 ssh: move sys config out of hosts/common 2023-01-08 08:43:23 +00:00
colin 2c0b0f6947 ssh: explain why we specify host_keys the way we do instead of through sane.persist 2023-01-08 08:41:48 +00:00
colin f10de6c2c4 ids: improve docs 2023-01-08 06:54:29 +00:00
colin a6be200a82 ids: define the assertions more idiomatically 2023-01-08 06:51:25 +00:00
colin fb57e9aa5b cleanup the 'every user/group has an id' enforcement 2023-01-08 06:46:07 +00:00
colin f5acbbd830 image.nix: feed bug where enable flag wasnt actually being read 2023-01-08 05:37:25 +00:00
colin af77417531 feeds: add Perry Bible Fellowship comic 2023-01-08 05:30:36 +00:00
colin eea80b575d feeds: disable dilbert (it doesn't embed well) 2023-01-08 05:28:15 +00:00
colin 6a209d27fd freshrss: only show text and image feeds 2023-01-08 05:27:45 +00:00
colin e8f778fecd feeds: convert to module 2023-01-08 05:24:56 +00:00
colin 488036beb3 ssh: add git.uninsane.org host key back 2023-01-08 03:22:05 +00:00
colin 00b681eca5 ssh: manager ourself instead of using home-manager 2023-01-08 03:14:47 +00:00
colin 72d589cb2d ssh: port to modules system 2023-01-08 03:07:57 +00:00
colin ea5552daa7 bluetooth: accept that LinkKeys are device/host-specific and stop trying to share them across machines 2023-01-07 11:31:35 +00:00
colin fb7d94209c bluetooth: update key for portable speaker
i was having difficulty connecting from lappy.
i re-paired: the old LinkKey doesn't seem to work...?
this new key gave a file without `PublicAddress=true`: i don't *think*
that actually matters, though the device *does* appear to be a public
address on first glance (00: prefix, and last 2 bits aren't 11).
2023-01-07 10:18:36 +00:00
colin 8f5b92685b install-bluetooth: just copy the keys, dont bother symlinking 2023-01-07 09:59:06 +00:00
colin 32a4cb19fd sway: start pipewire early, to support bluetooth 2023-01-07 09:58:27 +00:00
colin 031cfa2bcd get bluetooth working in gnome-control-center 2023-01-07 08:35:51 +00:00