Commit Graph

25 Commits (inex/test-systemd-rebuild)

Author SHA1 Message Date
Alexander 77619456d7 /etc/nixos#sp-nixos => /etc/nixos#default 2023-12-27 14:02:27 +04:00
Alexander 83e8f6e8a1 get rid of files.nix; ACME/credentialsFile and other cleanup 2023-12-18 07:49:27 +04:00
Alexander defaca8793 clean configuration; simple-nixos-mailserver is an ordinary SP module 2023-12-12 08:25:10 +04:00
Alexander 519ebbcb69 get rid of system argument; do not set nixpkgs.hostPlatform 2023-12-05 07:36:26 +04:00
Alexander 4c4aef5363 get system.stateVersion from "deployment" argument 2023-12-05 04:51:37 +04:00
Alexander 3f573e3dc3 activationScripts: rewrite /etc/nixos with configuration source 2023-12-04 15:25:01 +04:00
Alexander Tomokhov 4cbe63ac64 flake: abort on missing configPathsNeeded with message 2023-12-01 08:32:31 +04:00
Alexander Tomokhov e814157437 fix config attributes contrain for function imports 2023-11-26 08:56:48 +04:00
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