1
Fork 0
Commit Graph

92 Commits

Author SHA1 Message Date
Motiejus Jakštys ecdd5a5cc5 autopep8 2024-01-28 23:42:11 +02:00
Motiejus Jakštys ea2b7c1be4 fix plain tests 2024-01-28 23:36:50 +02:00
Motiejus Jakštys 47d1ba611b caddy: handle /contact and /blog 2024-01-28 22:47:10 +02:00
Motiejus Jakštys 1d0edddc9e move overlays to overlays/ 2024-01-28 18:40:11 +02:00
Motiejus Jakštys 8fdea63c59 devShell: use django5 2024-01-28 18:36:29 +02:00
Motiejus Jakštys edebcf570a combine blog and djangostatic 2024-01-28 18:15:49 +02:00
Motiejus Jakštys acea4687a4 remove redundant flake8 check
it's already in pre-commit-hooks
2024-01-28 16:43:31 +02:00
Motiejus Jakštys 513b2cf00d split out e11sync-djangostatic from e11sync-static 2024-01-28 16:42:17 +02:00
Motiejus Jakštys 6171e5735b unit tests: stop there 2024-01-28 15:55:16 +02:00
Motiejus Jakštys ec2fc37c4a add flake8 2024-01-28 15:42:57 +02:00
Motiejus Jakštys 7a8491d412 wip unit tests 2024-01-28 15:29:15 +02:00
Motiejus Jakštys c3ef78605d starting the blog 2024-01-27 16:57:07 +02:00
Motiejus Jakštys a01d07c533 pkgs: simplify 2024-01-26 17:05:31 +02:00
Motiejus Jakštys 7cec799cfa static: get rid of django-compress 2024-01-26 12:12:06 +02:00
Motiejus Jakštys 10268c8bfe fix `nix flake check` 2024-01-26 10:18:46 +02:00
Motiejus Jakštys 7d6143a832 vm: add admin endpoint 2024-01-20 14:35:39 +02:00
Motiejus Jakštys 34ba024d56 rename e11sync-frontend -> e11sync-caddyfile 2024-01-20 14:10:33 +02:00
Motiejus Jakštys 5c957684e4 e11sync.overlay: expose a non-list 2024-01-20 12:11:52 +02:00
Motiejus Jakštys 9bc1db9fe0 add an overlay for e11sync 2024-01-20 12:04:23 +02:00
Motiejus Jakštys 2d03d4af5b flake.nix: construct overlays cleanly
thanks to @jonringer in https://discourse.nixos.org/t/overlays-in-nested-flakes/17066/2
2024-01-20 06:58:09 +02:00
Motiejus Jakštys 304d4e9000 add vm check 2024-01-20 06:46:00 +02:00
Motiejus Jakštys 10d634cdc0 pkgs: move to overlay 2024-01-20 06:41:16 +02:00
Motiejus Jakštys f0a32ae9ae top-level modules: make work 2024-01-19 21:42:22 +02:00
Motiejus Jakštys a382d78d63 module does not build:
$ nix build .#nixosConfigurations.vm.config.system.build.vm
    error:
	   … while calling the 'derivationStrict' builtin

	     at /builtin/derivation.nix:9:12: (source not available)

	   … while evaluating derivation 'nixos-vm'
	     whose name attribute is located at /nix/store/ikx99aci297hpgys7114fjwyf38iv9qi-source/pkgs/stdenv/generic/make-derivation.nix:348:7

	   … while evaluating attribute 'buildCommand' of derivation 'nixos-vm'

	     at /nix/store/ikx99aci297hpgys7114fjwyf38iv9qi-source/pkgs/build-support/trivial-builders/default.nix:87:14:

	       86|       enableParallelBuilding = true;
	       87|       inherit buildCommand name;
		 |              ^
	       88|       passAsFile = [ "buildCommand" ]

	   (stack trace truncated; use '--show-trace' to show the full trace)

	   error: attribute 'system' missing

	   at /nix/store/ikx99aci297hpgys7114fjwyf38iv9qi-source/lib/modules.nix:506:28:

	      505|         builtins.addErrorContext (context name)
	      506|           (args.${name} or config._module.args.${name})
		 |                            ^
	      507|       ) (lib.functionArgs f);
2024-01-19 21:42:22 +02:00
Motiejus Jakštys 66d8a424a2 vm bulds, but with django4 2024-01-19 21:42:22 +02:00
Motiejus Jakštys a88bc7071c Revert "nixosModules.e11sync: remove ${system}"
This reverts commit a7b32b6df5.
2024-01-17 15:03:44 +02:00
Motiejus Jakštys 250edb3472 Revert "nixosModules: fix namespacin"
This reverts commit b8671ca99f.
2024-01-17 15:03:42 +02:00
Motiejus Jakštys b8671ca99f nixosModules: fix namespacin 2024-01-17 14:09:38 +02:00
Motiejus Jakštys a7b32b6df5 nixosModules.e11sync: remove ${system} 2024-01-17 14:04:23 +02:00
Motiejus Jakštys 92dc1f97cc nixosModules.default 2024-01-17 13:22:48 +02:00
Motiejus Jakštys 33d6c66029 e11-static: contain `e11sync-static`
TODO: learn about `lib.makeScope`.
2024-01-17 12:53:14 +02:00
Motiejus Jakštys 450419d431 move e11sync-static-manifest to e11sync-static 2024-01-17 10:45:20 +02:00
Motiejus Jakštys 2acf5a5bf6 e11sync-static-manifest: trying to get rid of dependencies 2024-01-17 08:48:40 +02:00
Motiejus Jakštys 45f5f6fcee e11sync: move manifest out of e11sync-static
that way `e11sync-backend` has one less dependency.
2024-01-17 07:54:32 +02:00
Motiejus Jakštys 8f2268782b caddy 2024-01-16 23:51:53 +02:00
Motiejus Jakštys 39dd8acd90 backend: make familiar with `CACHE/manifest.json` 2024-01-16 23:32:50 +02:00
Motiejus Jakštys e5d01f23ad python: make a virtualenv 2024-01-16 13:52:08 +02:00
Motiejus Jakštys d3c5d73198 uwsgi: move package overrides to e11sync-backend 2024-01-16 13:31:28 +02:00
Motiejus Jakštys 74efa197b5 vm: make it x86_64-linux only 2024-01-16 13:29:16 +02:00
Motiejus Jakštys 8909ef3fd5 vm: wiggle imports a bit 2024-01-16 11:41:15 +02:00
Motiejus Jakštys 994a4ad18b django_5: override globally 2024-01-16 00:39:11 +02:00
Motiejus Jakštys 4475a47987 fix vm
vm works, the app can't find django
2024-01-15 23:41:15 +02:00
Motiejus Jakštys 0f4ae2a2fd add vm 2024-01-15 23:17:29 +02:00
Motiejus Jakštys a659062930 adding e11sync module 2024-01-15 22:44:08 +02:00
Motiejus Jakštys da98436a74 formatting 2024-01-15 16:22:14 +02:00
Motiejus Jakštys 185669d69b rename remaining `e11sync` to `e11sync-backend` 2024-01-15 16:17:16 +02:00
Motiejus Jakštys 50c34aa922 replace gunicorn with uwsgi
has an easier-to-work-with prometheus.
2024-01-15 16:14:46 +02:00
Motiejus Jakštys c3d052ad01 add e11sync-caddy 2024-01-15 13:27:27 +02:00
Motiejus Jakštys 9870e5c239 flake.nix: remove unnecessary `@ inputs` 2024-01-15 10:57:42 +02:00
Motiejus Jakštys 290838e6e7 geoip: compress the archive
less inputs, less downloading.
2024-01-15 10:52:46 +02:00