1
Commit Graph

125 Commits

Author SHA1 Message Date
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
304d4e9000 add vm check 2024-01-20 06:46:00 +02:00
10d634cdc0 pkgs: move to overlay 2024-01-20 06:41:16 +02:00
4c38af874c better overlays 2024-01-19 21:42:22 +02:00
f0a32ae9ae top-level modules: make work 2024-01-19 21:42:22 +02:00
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
66d8a424a2 vm bulds, but with django4 2024-01-19 21:42:22 +02:00
8bc0c13565 e11sync-static: do not use intermediate shell 2024-01-19 13:27:41 +02:00
7254e784eb more wording 2024-01-18 22:07:10 +02:00
1aa4b55591 colors 2024-01-18 21:54:52 +02:00
a594a95c6e wording 2024-01-18 06:51:10 +02:00
3ab155677e ALLOWED_HOSTS += "11sync.net" 2024-01-17 15:51:11 +02:00
bf0d2452ce fix creds dir 2024-01-17 15:30:37 +02:00
a88bc7071c Revert "nixosModules.e11sync: remove ${system}"
This reverts commit a7b32b6df5.
2024-01-17 15:03:44 +02:00
250edb3472 Revert "nixosModules: fix namespacin"
This reverts commit b8671ca99f.
2024-01-17 15:03:42 +02:00
b8671ca99f nixosModules: fix namespacin 2024-01-17 14:09:38 +02:00
bbeef67c4b frontend: remove STS 2024-01-17 14:05:32 +02:00
a7b32b6df5 nixosModules.e11sync: remove ${system} 2024-01-17 14:04:23 +02:00
92dc1f97cc nixosModules.default 2024-01-17 13:22:48 +02:00
91806efc72 79 chars 2024-01-17 12:59:37 +02:00
33d6c66029 e11-static: contain e11sync-static
TODO: learn about `lib.makeScope`.
2024-01-17 12:53:14 +02:00
450419d431 move e11sync-static-manifest to e11sync-static 2024-01-17 10:45:20 +02:00
35f1d8a4fb fix unit test 2024-01-17 09:00:44 +02:00
c61408beab e11sync-static: more paralellism when building 2024-01-17 08:59:02 +02:00
2acf5a5bf6 e11sync-static-manifest: trying to get rid of dependencies 2024-01-17 08:48:40 +02:00
45f5f6fcee e11sync: move manifest out of e11sync-static
that way `e11sync-backend` has one less dependency.
2024-01-17 07:54:32 +02:00
5c9e5c1d7f e11sync-backend: some limits 2024-01-17 00:47:07 +02:00
d08dcc4f04 update texts 2024-01-17 00:34:59 +02:00
4f0a6a0a83 static: compress more files 2024-01-17 00:03:36 +02:00
c22db9b832 bugfix: urls 2024-01-16 23:55:48 +02:00
18ef2f537b vm: forward 8001 2024-01-16 23:54:24 +02:00
8f2268782b caddy 2024-01-16 23:51:53 +02:00
eb5691d342 uwsgi: stricter loading of plugins and app 2024-01-16 23:39:50 +02:00
39dd8acd90 backend: make familiar with CACHE/manifest.json 2024-01-16 23:32:50 +02:00
89ec12be1d uwsgi: fix pythonpath 2024-01-16 23:18:51 +02:00
6038aad312 fix databasePath 2024-01-16 23:05:19 +02:00
669939f2c1 secrets are no longer stubs 2024-01-16 22:54:23 +02:00
5c701b6878 systemd service: fix serviceConfig 2024-01-16 22:38:17 +02:00
a68b015209 fix vm path 2024-01-16 15:38:38 +02:00
8bd66dab15 e11sync-backend systemd unit 2024-01-16 15:38:00 +02:00
e5d01f23ad python: make a virtualenv 2024-01-16 13:52:08 +02:00
d3c5d73198 uwsgi: move package overrides to e11sync-backend 2024-01-16 13:31:28 +02:00
74efa197b5 vm: make it x86_64-linux only 2024-01-16 13:29:16 +02:00
8909ef3fd5 vm: wiggle imports a bit 2024-01-16 11:41:15 +02:00
994a4ad18b django_5: override globally 2024-01-16 00:39:11 +02:00
bbac4f96b4 fix python3 overrides 2024-01-16 00:31:18 +02:00
074767b84c trying to override django-compressor's deps 2024-01-16 00:17:32 +02:00
0d31ec7969 django: propagate better 2024-01-16 00:09:47 +02:00
4475a47987 fix vm
vm works, the app can't find django
2024-01-15 23:41:15 +02:00
0f4ae2a2fd add vm 2024-01-15 23:17:29 +02:00