Alexander Tomokhov
308a70fe20
selfprivacy/current-config-source => selfprivacy/nixos-config-source
2023-11-21 01:24:36 +04:00
Alexander Tomokhov
d69a8cd662
migrate selfprivacy-api NixOS module to selfprivacy API repository
...
But do not treat it as a SP module.
2023-11-16 06:36:39 +04:00
Alexander Tomokhov
d281f51775
TODO notes: flake: config contrain algorithm
2023-11-15 20:18:49 +04:00
Alexander Tomokhov
4419a1323a
fix config attributes contrain mechanism for SP modules
...
Now it should work for all nested imports too. `imports` are traversed
recursively to redefine each imported module function with altered one,
constraining its config attribute (respecting config-paths-needed.json).
2023-11-15 04:31:20 +04:00
Alexander Tomokhov
26b3071929
system.configurationRevision = self.rev or "@${self.lastModifiedDate}"
2023-11-14 06:22:39 +04:00
Alexander Tomokhov
f33fb9e9bf
just-nixos => sp-nixos; selfprivacy/current-config-source; add formatter
2023-11-14 02:47:08 +04:00
Alexander Tomokhov
f440006806
remove erroneous system attribute from nixosConfigurations
2023-11-13 19:52:34 +04:00
Alexander Tomokhov
80ba7d0bda
PoC working SP module system
...
+ simple-nixos-mailserver as an SP module
2023-11-13 00:37:50 +04:00
Alexander Tomokhov
d9e2311f3c
system.configurationRevision = self.rev;
2023-11-12 01:39:52 +04:00
Alexander Tomokhov
6c849e2628
embed top-level flake source folder into the build
2023-11-10 07:05:38 +04:00
Alexander Tomokhov
7378329891
pass top-level-flake to set system.configurationRevision
2023-11-10 06:53:21 +04:00
Alexander Tomokhov
b4b37f42f2
get rid of overlay for selfprivacy-graphql-api
2023-11-06 13:04:03 +04:00
Alexander Tomokhov
7cee132d8e
nixosConfiguration-fun takes a set as an argument
...
This set must contain:
- hardware-configuration
- userdata (parsed)
2023-11-06 12:50:46 +04:00
Alexander Tomokhov
a822f97699
pin dependencies in flake
2023-07-17 05:05:29 +04:00
Alexander Tomokhov
82dd9ad2d4
now it's a function, requiring userdata argument
2023-07-17 04:37:04 +04:00
Alexander Tomokhov
d4af9f4459
attempt to readFile userdsata.json
2023-07-17 04:19:57 +04:00
Alexander Tomokhov
ee2a895c61
test
2023-07-17 04:15:03 +04:00