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
Motiejus Jakštys
85b75daba5
flake.nix: formatting
2024-01-15 10:43:12 +02:00
Motiejus Jakštys
78246dde2d
run e11sync from nix store
2024-01-15 10:42:26 +02:00
Motiejus Jakštys
2301cb2191
79 chars
2024-01-15 10:10:11 +02:00
Motiejus Jakštys
ad62170e87
make format
2024-01-15 10:03:07 +02:00
Motiejus Jakštys
4464e89cbb
comment autopep8
2024-01-15 09:22:16 +02:00
Motiejus Jakštys
7db77e5b24
add flake8 for python
2024-01-15 09:09:39 +02:00
Motiejus Jakštys
94626bb28b
some linters
2024-01-15 08:46:30 +02:00
Motiejus Jakštys
e17646b070
flakes: get rid of `self`
2024-01-15 07:50:38 +02:00
Motiejus Jakštys
0f16146e63
flake.nix: don't ignore extra args
2024-01-14 23:03:25 +02:00
Motiejus Jakštys
75fb04d227
flake.nix: avoid `rec`
2024-01-14 22:45:54 +02:00
Motiejus Jakštys
9700a24db5
rename to unit test
2024-01-14 20:08:27 +02:00
Motiejus Jakštys
fce0c341d2
nicer syntax
2024-01-14 20:06:50 +02:00
Motiejus Jakštys
27e0979c86
geoip-archive: move to it's own package
2024-01-14 20:04:41 +02:00
Motiejus Jakštys
dc72e8a2a4
move e11sync-static to it's own file
2024-01-14 20:00:17 +02:00
Motiejus Jakštys
6499795df1
e11sync: move to it's own package
2024-01-14 19:54:32 +02:00
Motiejus Jakštys
96181f5075
e11sync-gunicorn is a bit easier to use
2024-01-13 23:43:44 +02:00
Motiejus Jakštys
4555d5f1f9
fmt
2024-01-13 19:36:42 +02:00
Motiejus Jakštys
fbae45a98e
add E11SYNC_HTTP_PORT
2024-01-13 19:34:50 +02:00
Motiejus Jakštys
a27d0cdc96
syntax
2024-01-13 19:30:41 +02:00
Motiejus Jakštys
c2c980e31d
add nix flake check
2024-01-13 18:58:43 +02:00