Commit Graph

2562 Commits

Author SHA1 Message Date
dc6f949c4d rename gui.nix -> gnome.nix 2022-05-23 00:43:27 -07:00
5c17274721 moby: use the 'home-manager-gen-colin' helper 2022-05-23 00:40:59 -07:00
94b145f869 machines: uninsane: migrate default user config to common/ 2022-05-23 00:33:11 -07:00
5060669738 machines/uninsane: define 'colin' user via the helper 2022-05-23 00:26:46 -07:00
c06e9800b9 machines/uninsane: use the home-manager helper 2022-05-23 00:10:52 -07:00
617fb9fff0 rename homes.nix -> home-manager.nix 2022-05-23 00:08:14 -07:00
56a0d5bab8 machines: lappy/desko: port to use the new homes helper 2022-05-23 00:07:08 -07:00
abc15897aa rework users to be more definable
this seems like an odd way to do it, but... it works?
and i don't understand how else to achieve what i want.
2022-05-23 00:01:50 -07:00
62fd04536c lappy/desko: enable signal messenger 2022-05-22 23:14:14 -07:00
2603dc590d moby: populate from lappy config (gnome, firefox, etc)
it's not the best: probably want to replace with phosh
2022-05-22 19:45:54 -07:00
d75bc02c94 rename pda machine to moby 2022-05-22 17:24:16 -07:00
aa979704c1 machines: pda: working image generation!
this builds the minimal pine64-pinephone .img,
which is about 1 GB and has no gui beyond the
login prompt, which is inaccessible becuse usb drivers
(for a keyboard) don't seem to be configured >_<
2022-05-22 17:22:55 -07:00
ada574e8a8 flake: simplify machine generation 2022-05-22 15:11:08 -07:00
efa3ad6abd flake.nix: simplify nixosConfigurations and imgs population 2022-05-22 15:06:27 -07:00
7fe770965b TODO: document some tasks i want to do or which are WIP 2022-05-22 14:40:35 -07:00
f53e7e6acf flake: factor out some machine helpers
new structure is `imgs.<foo>` to build a disk image
2022-05-22 14:40:29 -07:00
1f0e62cff6 flake: use inherit where possible 2022-05-22 13:36:30 -07:00
95ca542199 flake: simplify decl-img 2022-05-22 13:35:04 -07:00
cb9308e17b add the NixOS User Repository, and source some firefox extensions from it 2022-05-22 04:03:30 -07:00
958dadf2ba readme: remove old image details 2022-05-22 03:14:50 -07:00
454e65b027 add img targets for desko and uninsane machines 2022-05-22 02:57:05 -07:00
c5e0310229 pda: switch nixpkgs for mobile-nixos
the old one doesn't work. not sure if this one does or not
2022-05-22 02:55:36 -07:00
f2a7592143 secrets: document how to update a secret 2022-05-22 09:41:16 +00:00
92769da8e5 machine: uninsane: port to home-manager 2022-05-22 09:40:36 +00:00
71957428e2 allow ssh access from desko 2022-05-22 02:06:33 -07:00
49c0854fa6 duplicity: fix broken link during earlier refactor 2022-05-22 02:03:52 -07:00
3b8c76f46c desko/lappy: factor out common hardware 2022-05-22 02:03:25 -07:00
e9dbbb764f desko/lappy: factor out some easy commonalities
i'm sure this will change as i mess with the rpi image
2022-05-22 01:59:04 -07:00
33d2666a03 convert lappy-gpt to use a helper which we'll be able to replicate for other machines 2022-05-22 01:38:19 -07:00
e0b0fe065b move all machines into a subdirectory 2022-05-22 01:29:56 -07:00
8f903d5214 create a machine for my desktop
it's a clone of lappy, except with different fs uuids.

i'll work to fold some of these in a bit.
2022-05-22 01:27:02 -07:00
0557a2b700 document how to use the lappy-gpt target 2022-05-22 01:23:54 -07:00
1e4c648e90 lappy: add btrfs-progs
somehow this already exists on my system, but not on a fresh build.
suspicious.
2022-05-22 00:04:30 -07:00
b36983c348 boot: add explicit support for btrfs on boot
nix calculates this dynamically, looking at the fileSystem declarations.
this would fail if one converts a file system after generating the
image. so let's be explicit in what we want to support.
2022-05-22 00:01:56 -07:00
ea75c315bd enable microcode updates for intel (desktop) 2022-05-21 23:31:38 -07:00
06b23e92f9 lappy-gpt: inline nixos-generate logic for better boot consistency
this image boots!
2022-05-21 22:00:38 -07:00
bd3bf6d108 add a #lappy-gpt target which builds a flat, flashable image.
the root part is ext4 instead of btrfs. nixos-generators doesn't support
btrfs. the underlying machinery does though, so we can remove the
middleman in a future patch to achieve that.
2022-05-21 18:05:32 -07:00
fc3b40d434 factor out a decl-machine helper 2022-05-21 00:40:56 -07:00
f5d313c0ea factor out the uninsane machine a bit better 2022-05-21 00:30:29 -07:00
298e7bc8ec lift pkg patching out of the toplevel machine definitions 2022-05-21 00:23:29 -07:00
e252f8623c lappy: lift the x86_64-linux wrangling out of the modules 2022-05-21 00:18:17 -07:00
b31972444e lappy: move more stuff to the toplevel lappy/default.nix 2022-05-21 00:15:33 -07:00
13b957dbfa document some mobile-pkgs commits 2022-05-20 23:53:44 -07:00
0877570947 add (experimental) pinephone/pda target
this requires cross compilation (particularly of the kernel), which is a bit too slow on this machine
to test since it uses qemu.

i can maybe switch to an older nixpkgs for the pda build which has the
kernel cached... or migrate my desktop to nixos and build the pinephone
image there :-)
2022-05-20 21:18:04 -07:00
0457ae40fe migrate my nixos laptop to this flake 2022-05-20 21:14:19 -07:00
e0f710b8a3 update readme to explain how to handle secrets with git 2022-05-21 02:08:49 +00:00
55b3b6ad46 port to a flake
built and switched. will try reboot.
2022-05-21 01:59:51 +00:00
8ec94691fa experimental flake support 2022-05-21 00:07:49 +00:00
9889ee0937 users: add vulnix package for vulnerability scanning 2022-05-18 22:10:01 +00:00
e1b388f2c5 enable daily postgresql backups 2022-05-18 10:42:47 +00:00