5c2f33a550
add missing 'toString' in image builder
2022-08-01 23:11:16 -07:00
0ec48a9145
kitty: explore some color themes
2022-08-01 17:12:36 -07:00
408e817c39
rename modules/{nix -> nixcache}.nix
2022-08-01 15:10:40 -07:00
1a9dfe22ba
image builder: integrate impermanence so that we create such things as /var/log
...
untested
2022-08-01 14:37:19 -07:00
8ae0d77938
image: document the config options
2022-08-01 14:01:46 -07:00
b53d2f945d
impermanence: remove /srv
...
this is for "service directories": public, protocol-based fs access.
e.g. /srv/ftp might be a share which is exposed over FTP.
/srv/www might be a share which is exposed over www (or webdav).
2022-08-01 13:36:42 -07:00
d196ce29ac
pkgs: move logseq to x86-only package section
2022-08-01 13:25:57 -07:00
f9ab3b7cf1
sway: wifi: show signal strength
...
i'd prefer to show the essid instead of the interface name,
but there's no way to truncate that to just N characters,
so we overflow if we do that.
2022-08-01 00:50:57 -07:00
451816f623
rename config.{colinsane -> sane}
2022-08-01 00:23:49 -07:00
9dea707eea
kitty: ctrl+n
opens a new OS terminal in the CWD
2022-07-31 23:42:13 -07:00
ac772e72b8
document how to make Electron apps use wayland natively
2022-07-31 18:09:28 -07:00
d44db610cb
switch vim => nvim
...
also install some plugins, like vim-surround and fzf
2022-07-31 18:09:01 -07:00
79b3bfc9e7
discord: fix urls to open in correct web-browser
2022-07-31 16:14:56 -07:00
6608e2bf6d
vim: store swap files under ~/.cache/vim-swap
...
untested
2022-07-31 12:00:06 -07:00
18bb89ded0
lappy: enable guest account
2022-07-31 11:35:15 -07:00
ee621cd132
pkgs: add visidata
2022-07-29 23:51:11 -07:00
3fe67e744f
sway: fix waybar styling
...
apparently setting any `style` attribute clears all the defaults,
so if i want to set the font via the style then i need to include
all the defaults as well.
2022-07-25 00:00:11 -07:00
ea61d22764
Sway: add additional shortcuts for managing volume
2022-07-24 18:09:15 -07:00
d92994bcd2
sway: fixed-width network area
2022-07-24 13:50:06 -07:00
a5d14a643e
obsidian: persist the .config/obsidian directory
2022-07-24 13:49:54 -07:00
59f8191830
add nb
personal knowledge manager, and its optional dep: w3m
2022-07-23 02:00:38 -07:00
5595da2c56
packages: add logseq (markdown/personal knowledge manager)
2022-07-22 14:12:27 -07:00
bd44bd4434
home: packages: add Lollypop music player
2022-07-19 02:18:50 -07:00
7375a55d4c
home: add cheese webcam viewer
2022-07-15 23:15:58 -07:00
878f9fbe49
ssh: remove dead keys; update moby key
2022-07-15 14:23:33 -07:00
2f3eda1800
uids/gids: resolve conflicts (prefer servo rules)
2022-07-15 00:15:37 -07:00
8c9c9ca6c9
migrate the rest of the uids/gids to 'allocations' system, but don't fix conflicts
2022-07-15 00:12:13 -07:00
42117f375b
introduce an 'allocations' systems for things like uids/gids
2022-07-14 23:58:27 -07:00
ede10dd1c8
impermanence: don't persist /var/lib/nixos
2022-07-14 22:06:19 -07:00
a380e300bc
desko: eliminate the non-determinism in /var/lib/nixos/auto-subuid-map
2022-07-14 22:00:53 -07:00
3773aebac0
desko: freeze uids/gids
...
this will allow (eventually) removing the /var/lib/nixos persisted
state.
2022-07-14 21:53:28 -07:00
1a159c8340
Merge branch 'master' of git.uninsane.org:colin/nix-files
2022-07-14 16:24:02 -07:00
6faed74958
home: packages: add gnome-disk-utility
2022-07-14 16:22:21 -07:00
97374fdcf4
pks: add gthumb image viewer
2022-07-12 02:51:15 -07:00
99d55167f6
impermanence: only persist service directories if those services are enabled.
2022-07-10 17:58:16 -07:00
e2d7d63ebe
impermanence: move application-level impermanence to their package definition
2022-07-10 17:43:57 -07:00
d0b903d50e
home-packages: switch to a module.
...
this will allow for better configuration of packages in future.
2022-07-10 17:14:20 -07:00
9d71041530
impermanence: move the base persisted home-dirs into home-manager, alongside XDG dirs
2022-07-10 15:25:04 -07:00
31e404b04f
impermanence: abstract the creation of service directories
...
better would be to not directly call out user/group, but force them to
be looked up.
2022-07-10 15:15:34 -07:00
01a47932f7
impermanence: abstract the creation of root-owned system directories
2022-07-10 15:07:56 -07:00
5c6f616c97
impermanence: abstract the creation of ~/ sub-dirs
2022-07-10 14:42:33 -07:00
ce46b3490a
home packages: remove zola/gnumake; the repo for uninsane.org configures these now
2022-07-09 14:27:05 -07:00
292aa042f2
web browser: remove all bookmarks (migrated elsewhere)
...
see e.g. https://uninsane.org/links
2022-07-09 01:30:15 -07:00
b2bd8d5f89
persist: zcash directory
2022-07-09 01:00:17 -07:00
06989c613f
pkgs: add zecwallet-lite to the home env
2022-07-09 00:55:36 -07:00
c6fbe3574d
vpn: rename ovpnd -> ovpnd-us
...
this is needed to disambiguate it against the other regions.
2022-07-09 00:52:05 -07:00
f790147fb0
add ukraine VPN
2022-07-09 00:48:09 -07:00
dca68a019b
pkgs: tor-browser: only enable on x86
2022-07-09 00:00:46 -07:00
461398143c
add monero (as package and as persisted directory)
2022-07-08 21:56:49 -07:00
89aabda1a6
home packages: fix tor crash
2022-07-08 01:42:14 -07:00
54f6e86e20
home packages: add gnupg, sequoia
2022-07-08 00:43:56 -07:00
01ce23130a
new package: tor
2022-07-07 16:56:47 -07:00
dc6472f39f
electrum: put on all GUI systems
2022-07-07 04:10:57 -07:00
db6dc8e08c
persist Signal
2022-07-06 15:14:36 -07:00
1dd3cab02b
split web-browser out of toplevel home-manager.nix file
2022-07-06 14:41:19 -07:00
8fd42f49c2
home packages: remove gcc, rustup
2022-07-06 14:38:39 -07:00
7ec1879f90
home-manager: import from flake.nix, not env/home-manager.nix
2022-07-06 14:36:14 -07:00
c851f44a40
split home packages out of home manager
2022-07-06 14:35:01 -07:00
bcfd2cbdb1
split packages out into home v.s. system packages
2022-07-06 14:31:51 -07:00
c58df098d2
split "environment"-related settings into modules/universal/env
2022-07-06 14:23:49 -07:00
3e774241af
users.colin: explicitly set group to "users"
2022-07-06 14:19:43 -07:00
a100100e79
impermanence: move import into flake.nix
2022-07-06 14:17:29 -07:00
24fa857ee0
split nix --flake
enabling out of modules/nix.nix into universal
2022-07-06 14:16:09 -07:00
6aa79e9e55
x86: remove empty swapDevices
2022-07-06 14:13:49 -07:00
2ceb2637d8
remove unnecessary kernelModules
...
i can't notice any difference with these removed
2022-07-06 02:01:16 -07:00
5a10805287
hardware.opengl.extraPackages: move to machine-specific files
2022-07-02 23:53:55 -07:00
e73829d2e3
x86_64: add amdvlk and make this code cleaner
2022-07-02 23:45:42 -07:00
868325828d
browser plugins: fix metamask ref
2022-07-02 14:45:55 -07:00
a85a0c54c2
bookmarks: add Home Manager config
2022-07-01 04:36:52 -07:00
b7000c6d48
home: set librewolf as the default html handler
2022-07-01 04:36:32 -07:00
f210b22494
switch to librewolf
...
this is partial: we probably want to persist ~/.librewolf so that
we aren't prompted with the extension notify pages on every start
(or maybe there's a better solution).
2022-07-01 04:25:41 -07:00
25e3c8e2f6
persist the Element session keys
2022-07-01 01:05:46 -07:00
ce5431591c
patch Firefox so that we can properly set the default search engine
...
i'll probably (partially) revert this and switch to librewolf instead.
Firefox takes about 1hr to build.
2022-07-01 01:05:40 -07:00
d404f279de
partial rustup support
2022-06-30 20:45:40 -07:00
e0dda018ae
impermanence: persist more dirs which were eating space on servo
2022-06-30 14:20:38 -07:00
4225315732
home: install screen
...
this is useful particularly for servo: start screen, launch a
long-running command, and then safely close the tty and the long running
command will persist.
2022-06-30 13:58:28 -07:00
2863dba1e3
home: only install obsidian onto GUI systems
...
it's not usable in any form without a gui
2022-06-30 13:57:46 -07:00
3cee86298e
impermanence: persist the home/records folder
2022-06-30 13:49:54 -07:00
9123c98595
sops: decrypt secrets AFTER /nix/ssh has been mounted
2022-06-30 01:32:03 -07:00
1098c66e8d
kitty: disable the terminal bell
2022-06-30 00:43:08 -07:00
948d169b33
image: don't populate the /persist directories. these are mostly done on boot.
2022-06-30 00:07:46 -07:00
313d698b97
impermanence: set perms for all these files
2022-06-29 03:58:27 -07:00
92488dd890
complete servo image & port to impermanence
...
there might still be some bugs to work out here.
this produces a workable image, but with some uncertainty
around that swapfile (the first attempt had /swapfile living on a
tmpfs).
2022-06-29 01:17:53 -07:00
ba69812720
packages: add gnome-feeds RSS viewer
2022-06-29 01:16:11 -07:00
fd48880a0a
nixcache: only enable on moby
...
it's annoying to rebuild on desko/lappy, and have that fail when servo
is offline/unreachable.
and it's really silly to have servo use its own cache *over the
network*.
long-term would be better to do properly distributed builds instead of
the cache.
2022-06-28 03:44:10 -07:00
42ddd90796
impermanence: persist ~/use
2022-06-26 04:22:57 -07:00
fd567f8c09
fix secrets file for vpn
2022-06-25 23:04:32 -07:00
ae55ddb5a7
impermanence: cache discord creds
2022-06-25 22:11:16 -07:00
a011abc7ef
add desko /var/lib entries to impermanence
2022-06-25 21:18:02 -07:00
75a3e77e77
packages: add nethogs
for monitoring bandwidth
2022-06-25 19:50:38 -07:00
7027ea099c
packages: ship ipfs
2022-06-25 17:51:24 -07:00
26a756f6a4
impermanence: don't preserve /mnt
...
directories which are mentioned in `config.fileSystems` automatically
get directories created in /mnt
2022-06-25 15:37:12 -07:00
8c1149b21b
impermanence: preserve spotify config
2022-06-24 21:15:58 -07:00
436ade540f
tune /var/lib impermanence (for lappy)
2022-06-24 21:10:49 -07:00
3ecdcdfaaf
add nvme
kernel module to x86_64.
...
this enables the initrd to boot on desko
2022-06-24 03:25:02 -07:00
c39d0d1667
rebuild desko and flash it
...
haven't booted into it yet (we'll see!)
2022-06-24 02:07:40 -07:00
17d2029ba2
image: make the gpt headerHole configurable
2022-06-24 00:53:43 -07:00
d38f17207b
remove extlinux bootloader wrapper: use colinsane.extraBootFiles
2022-06-24 00:10:07 -07:00
b244e8e845
moby: properly flash firmware as part of the image build
2022-06-23 19:01:04 -07:00
0edf62a31f
extlinux-builder: handle the case that /boot/EFI/BOOT is not empty
2022-06-23 17:46:41 -07:00
187c2f2406
lappy: switch back to the existing fs uuids
2022-06-23 16:28:12 -07:00
ac050ac390
move the canTouchEfiVars into the right place
2022-06-23 16:26:46 -07:00
c6f2eaca45
extlinux-builder: respect target directory CLI arg
2022-06-23 16:24:39 -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
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
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
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
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
324e9c9b56
add some useful utilities (to initrd and home-manager)
2022-06-19 15:57:20 -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
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
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
10937c93d4
duplicity: attempt to limit bandwidth
2022-06-12 15:26:33 -07:00
2b8ff8d5ae
rename 'uninsane' machine -> 'servo'
2022-06-12 15:11:41 -07:00
39049c8a9c
sway: add battery indicator
...
would be nice to hide it on desktop?
2022-06-12 01:01:12 -07:00
c11f565226
create a package to hold useful system scripts
2022-06-11 17:40:15 -07:00
fb15f84f1d
desko: enable duplicity backups
2022-06-10 01:43:48 -07:00
60294c60c3
add backblaze-b2 package
2022-06-10 01:32:48 -07:00
7da3d48272
migrate duplicity config to a module
...
this will let other machines reuse it
2022-06-10 01:30:57 -07:00
6c1acb5b9a
fs: add uninsane lan mount
...
also fix the gid (100 = users group)
2022-06-10 00:38:02 -07:00
cd43247d2c
enable himalaya
for sending and receiving email
...
sent messages don't get copied to the sent mailbox, but oh well.
problem for another day.
2022-06-09 18:58:42 -07:00
cf4cde548a
implement OVPN wireguard service
2022-06-09 17:41:03 -07:00
2f08252432
move sway-specific home packages to sway.nix
2022-06-09 15:10:51 -07:00
431061b423
home-manager: move programs.waybar to sway.nix
2022-06-09 15:05:58 -07:00
2595c0b4e0
home-manager: move wayland.windowManager.sway
to sway.nix
2022-06-09 15:01:38 -07:00
51bf327290
port helpers/home-manager-gen-colin.nix to modules system
2022-06-09 14:50:24 -07:00
bc51244c52
move helpers/universal -> modules/universal
2022-06-09 14:06:31 -07:00
c7252f9c96
phosh: enable opengl; wayland support for electron apps
2022-06-06 18:10:19 -07:00
d33d5a4582
hardware-x86_64: port to modules system
2022-06-06 17:51:35 -07:00
d6b2cf8ded
gui/gnome: port to module system
2022-06-06 17:42:57 -07:00
fbad6bda2e
gui/plasma-mobile: port to module system
2022-06-06 17:41:35 -07:00
5bae11fcbc
gui/phosh: port to module system
2022-06-06 17:39:40 -07:00
d28738eb0e
gui/sway: port to module system
2022-06-06 17:35:28 -07:00
a7259279bb
port raspberry pi bootloader fixes to a nixpkgs patch
2022-06-02 14:18:41 -07:00