Commit Graph

402 Commits

Author SHA1 Message Date
a299f111a4 move patch list out of flake.nix 2022-06-23 16:03:58 -07:00
fe51bb9ab4 flake: remove extraneous toplevel items from outputs 2022-06-23 15:57:20 -07:00
f7da8e2218 flake: simplify decl-bootable-machine 2022-06-23 15:53:35 -07:00
5fe65a1c52 flake: remove unused parameters 2022-06-23 15:49:59 -07:00
6801e934af move the custom packages overlay into pkgs/overlay.nix 2022-06-23 15:47:35 -07:00
f0857181c0 decrease the moby-specific stuff in flake.nix 2022-06-23 15:42:20 -07:00
835036fc6a make image.nix a first-class module 2022-06-23 15:31:19 -07:00
46dc2fb521 extend image builder to support btrfs 2022-06-23 15:28:33 -07:00
ea04b86a68 image builder: make aware of impermanence
now you can boot an impermanent install fully unattended.
2022-06-23 04:48:33 -07:00
0acb2e138b image building: enable impermanence
note that it still needs an interactive `mkdir /mnt-root/nix/var/{lib,log}`
in the initrd.
2022-06-23 03:39:09 -07:00
0579faaf89 get an image which can boot to a login prompt unattended
NB: this breaks compat with the existing lappy install.
need to switch back to impermanence, and switch the disk uuids too.
2022-06-23 02:24:52 -07:00
d80bd7d162 inline image building, and (for lappy) use a generic-extlinux-compatible bootloader
the generic bootloader will allow more code-sharing with rpi and
pinephone. desko should soon use the generic bootloader as well.

problems: lappy can't boot from USB stick. it makes it to the initrd,
but there's no dev nodes for the USB drive.
unsure if this is how it was before, too.
2022-06-23 00:24:39 -07:00
19f00b1ae9 update nixpkgs 2022-06-17 -> 2022-06-20 2022-06-22 17:09:52 -07:00
1d7dc6761f scripts for connecting/disconnecting to my VPN 2022-06-22 16:14:16 -07:00
44f63c31da move nixos config from /etc/nixos to /home/colin/dev/nixos 2022-06-21 02:23:19 -07:00
1dd791874a remove himalaya: we're using aerc now 2022-06-21 02:02:04 -07:00
aefd31b1f6 impermanence: granualize the /home/colin mounts 2022-06-21 01:59:31 -07:00
924b91564e fix aerc connection settings 2022-06-21 00:21:32 -07:00
55f82260d5 impermanence: persist /etc/machine-id 2022-06-21 00:02:57 -07:00
ceef35af96 add aerc accounts.conf to secret store (and home-manager) 2022-06-20 23:55:43 -07:00
27ce21cda4 add aerc: a better terminal mail client
TODO: home-manager integration. its config file doesn't obviously
support passwords, but i could possibly encode it as a secret and
bind-mount the secret location, or symlink it?
2022-06-20 17:55:17 -07:00
6c810bc82c update lappy key 2022-06-20 16:03:52 -07:00
2228be615e fix sane-secrets-update-keys script to work on shallow folders 2022-06-20 16:03:30 -07:00
4d0509af5d new script to update all sops secrets in a directory
also, rename secrets scripts to be grouped
2022-06-20 15:57:13 -07:00
c0dad51c6a add sane script to convert ssh -> sops key 2022-06-20 15:40:17 -07:00
b6de07a731 ddns-he: start timer on boot 2022-06-20 15:36:48 -07:00
69e9cbae96 update lappy ssh key.
TODO: this means its sops key has also changed.
2022-06-20 03:30:17 -07:00
fa131fe39f lappy: enable impermanence
it mostly went smooth, though i lost a .ssh key.
probably the best upgrade process is to do most of the heavy work in the
initrd:

write the new nix config, notably, configuring a tmpfs / mount
and moving the previous / to /nix.
then boot and in the initrd, move all the `/nix/nix/...` items
up a level.
2022-06-20 03:28:01 -07:00
68f066229b tool to dump SOPS account info (including totp) 2022-06-19 23:54:36 -07:00
786282d9c4 new script to clean space from the nix store 2022-06-19 20:18:57 -07:00
e6a88b41b2 replace whalebird patch with upstream patch 2022-06-19 16:15:07 -07:00
324e9c9b56 add some useful utilities (to initrd and home-manager) 2022-06-19 15:57:20 -07:00
878b5ed1b6 update nixpkgs, nurpkgs, sops 2022-06-19 15:55:57 -07:00
a91914053d transmission: disable the anti-brute-force option
this should allow me to more reliably login from anywhere.
2022-06-18 18:47:22 -07:00
d0209cb80f sway: add xdg-open
this lets applications (Discord, etc) open links in the correct
application instead of me manually copy/pasting them.
2022-06-18 18:10:11 -07:00
09d071dd53 nixpatches: update Whalebird patch to upstream PR 2022-06-18 17:41:27 -07:00
a031beee18 servo: transmission: relax the umask (to hopefully make files globally readable) 2022-06-18 15:54:27 -07:00
1f7d4b632d done (a while ago): "port helpers/ to module system", so cross it off 2022-06-18 01:04:59 -07:00
ea1111331c sane scripts: migrate an old servo utility to this repo 2022-06-18 00:35:04 -07:00
427d17d218 fix xdg src -> dev dir 2022-06-17 17:52:31 -07:00
ea9c201590 cleanup: home-manager: use with pkgs; to reduce repetition 2022-06-16 15:02:38 -07:00
d9f3209d8c sway: enable bluetooth (and gui bluetooth manager) 2022-06-16 14:52:02 -07:00
7bd9a0abc9 update nixpkgs 2022-06-12 -> 2022-06-15; nurpkgs 2022-06-14 -> 2022-06-16 2022-06-16 14:38:14 -07:00
f4533ea7d6 new script to sync phone to pc 2022-06-15 18:01:40 -07:00
b50150b52e enable stuff needed for ifuse/iphone photo syncing 2022-06-15 17:22:27 -07:00
10612012fb packages: add audacity 2022-06-14 17:29:46 -07:00
faf0cf691c re-enable the nix command (nix build, nix flake, etc)
it was accidentally disabled in in the move away from configuration.nix
2022-06-14 14:20:54 -07:00
a9d167cf14 remove configuration.nix
it's no longer needed in nixos-22.05
2022-06-14 02:48:22 -07:00
dfb7c997bb tidy up servo /mnt points
now we maintain /mnt/servo-media as a link to the "fastest" mountpoint
2022-06-14 00:13:39 -07:00
7535986932 fs: add desko mount & rework servo mount to use mdns 2022-06-13 22:25:38 -07:00