Commit Graph

173 Commits

Author SHA1 Message Date
Inex Code 7567c69722 infect:config:sha1: update nixos-config 2024-03-14 18:46:29 +03:00
Alexander Tomokhov 62dfb006e4 infect:config:sha1<- nixpkgs and api update 2024-03-08 05:34:56 +04:00
Alexander Tomokhov 861a5dbdf8 infect:config:sha1: modules: parameterize all subdomains 2024-02-29 04:56:51 +04:00
Alexander Tomokhov 83c1e4d590 infect:config:sha1: fix no ssh key build 2024-01-23 18:14:10 +04:00
Alexander Tomokhov 2925c7e41c infect:config:sha1: switch template branch to master 2024-01-19 10:01:24 +04:00
Alexander Tomokhov 5d93c8197e infect:config:sha1: update selfprivacy-api: small fixes 2024-01-19 03:10:51 +04:00
Alexander Tomokhov 77972cd020 infect:config:sha1: update selfprivacy-api 2024-01-18 15:31:08 +04:00
Alexander Tomokhov 0c8ada1a1b infect:config:sha1: selfprivacy-api branch change to master 2024-01-11 00:17:43 +04:00
Alexander Tomokhov fd0e2fb105 infect:config:sha1: update nixpkgs 2024-01-10 07:23:20 +04:00
Alexander Tomokhov 977658fb33 infect:config:sha1: update selfprivacy-api to 3.0 2024-01-10 04:17:11 +04:00
Alexander Tomokhov 2dd49d3596 infect:config:sha1: fix nextcloud auth redirection 2024-01-10 03:13:04 +04:00
Alexander Tomokhov 8f00617b3d infect: remove nix profile in the end 2024-01-10 00:25:54 +04:00
Alexander Tomokhov 8ce494c490 nixos-infect: update selfprivacy-nixos-config sha1 2024-01-09 23:34:34 +04:00
Alexander Tomokhov 66f61ce536 fix: no excess slash before disk device name (location) 2023-12-28 21:06:35 +04:00
Alexander Tomokhov 4866762afc selfprivacy-api git branch: userdata => flakes 2023-12-28 20:54:26 +04:00
Alexander Tomokhov f3696ab0d6 embed CONFIG_URL and NIX_VERSION inside nixos-infect
Now you need to edit nixos-infect to update base configuration URL.
2023-12-28 20:25:07 +04:00
Alexander Tomokhov 774bea292f STAGING_ACME is optional (default is false) 2023-12-28 20:25:07 +04:00
Alexander Tomokhov 743129d6cb uppercase PROVIDER variable value 2023-12-28 20:24:40 +04:00
Alexander Tomokhov 15f36551ad fix: absent SSH_AUTHORIZED_KEY does not cause failure 2023-12-28 20:00:44 +04:00
Alexander Tomokhov 36eb48ab3c nix flake lock /etc/nixos --override-input sp-modules path:./sp-modules 2023-12-28 05:02:04 +04:00
Alexander Tomokhov 374711f324 optional variables: NIXOS_CONFIG_ID and VOLUME_DEV_PATH 2023-12-28 03:12:43 +04:00
Alexander Tomokhov 91073a50a3 additional check for 2nd volume 2023-12-28 01:02:49 +04:00
Alexander Tomokhov 0ec4fc7d5b generate volumes and location values (disk device name) 2023-12-28 00:28:53 +04:00
Alexander Tomokhov 83fe55b86e nixos-infect: sort variables 2023-12-27 20:59:00 +04:00
Alexander Tomokhov c31521e1ca do not pass DB_PASSWORD, but generate 2023-12-27 20:58:59 +04:00
Alexander Tomokhov 967377f171 pass ENCODED_PASSWORD to nixos-infect instead of USER_PASS 2023-12-27 17:59:09 +04:00
Alexander Tomokhov 4df84db453 curl --fail 2023-12-27 14:13:40 +04:00
Alexander Tomokhov c95b9d0f62 /etc/nixos#sp-nixos => /etc/nixos#default 2023-12-27 14:05:09 +04:00
Alexander Tomokhov 05e395d6af nix flake lock /etc/nixos --update-input sp-modules 2023-12-27 13:20:50 +04:00
Alexander Tomokhov d099b7bd11 system.stateVersion = lib.mkDefault "$release" 2023-12-23 00:14:33 +04:00
Alexander Tomokhov 9cd6207238 add stateVersion to userdata.json 2023-12-22 23:13:04 +04:00
Alexander Tomokhov 1344aaa92c `nix flake lock --override-input sp-modules` instead of --update-input 2023-12-20 16:41:42 +04:00
Alexander Tomokhov 0e6d5414f5 CF_TOKEN => DNS_PROVIDER_TOKEN 2023-12-20 16:36:14 +04:00
Alexander Tomokhov f3e19457ee do not write resticPassword to secrets.json 2023-12-16 09:44:07 +04:00
Alexander Tomokhov fa062875e7 add questionable availableKernelModules for DigitalOcean deployment 2023-12-11 21:17:42 +04:00
Alexander Tomokhov 528d5de6dd networking configuration for DigitalOcean 2023-12-11 20:34:09 +04:00
Alexander Tomokhov 158c711f66 fix hashedMasterPassword: install missing `mkpasswd` via `whois` package 2023-12-11 13:40:47 +04:00
Alexander Tomokhov ba181fb162 generate deployment.nix with system.stateVersion 2023-12-11 05:35:58 +04:00
Alexander Tomokhov 8de4c0908f pass SSH_AUTHORIZED_KEY and merge with userdata.json 2023-12-05 05:28:15 +04:00
Alexander Tomokhov 55149c1af0 infect: fix typo in comment 2023-12-03 07:08:59 +04:00
Alexander Tomokhov ccf32a3172 drone: pass USER_PASS without base64 2023-12-03 06:41:19 +04:00
Alexander Tomokhov 347ee5ca12 fix typo in generated secrets.json 2023-11-22 23:50:09 +04:00
Alexander Tomokhov 5fc8a090f7 add github issue link to the comment about subflake 2023-11-22 22:26:58 +04:00
Alexander Tomokhov 4cf9f98105 remove installed Nix after switch-to-configuration boot 2023-11-22 01:49:08 +04:00
Alexander cae1b64689 fix infect: lustrate /etc/selfprivacy/secrets.json 2023-11-21 15:28:21 +02:00
Alexander Tomokhov 401f6e0789 do not remove original OS stuff (it will be moved to /old-root anyway) 2023-11-21 06:31:07 +04:00
Alexander Tomokhov 6645c8e61b Revert "add users.users.root.hashedPassword for testing purposes"
This reverts commit 31dfa8eb4a.
2023-11-21 03:01:14 +04:00
Alexander Tomokhov 7e79a26715 do not keep root/.nix-defexpr/channels after reboot 2023-11-21 03:01:09 +04:00
Alexander Tomokhov 5169969e03 fix passing HOSTNAME and DOMAIN variables to userdata.json 2023-11-21 01:18:51 +04:00
Alexander Tomokhov bc0f59695c exclude dot files when extracting top-level flake 2023-11-21 00:57:54 +04:00