selfprivacy/current-config-source => selfprivacy/nixos-config-source

pull/55/head
Alexander Tomokhov 2023-11-21 01:24:32 +04:00
parent a3063ec732
commit 308a70fe20
1 changed files with 3 additions and 3 deletions

View File

@ -2,10 +2,10 @@
description = "SelfPrivacy NixOS configuration flake"; description = "SelfPrivacy NixOS configuration flake";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs"; nixpkgs.url = github:nixos/nixpkgs;
selfprivacy-api.url = selfprivacy-api.url =
"git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git"; git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git;
# make selfprivacy-api use the same shared nixpkgs # make selfprivacy-api use the same shared nixpkgs
selfprivacy-api.inputs.nixpkgs.follows = "nixpkgs"; selfprivacy-api.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -28,7 +28,7 @@
selfprivacy-api.nixosModules.default selfprivacy-api.nixosModules.default
{ {
# embed top-level flake source folder into the build # embed top-level flake source folder into the build
environment.etc."selfprivacy/current-config-source".source = environment.etc."selfprivacy/nixos-config-source".source =
top-level-flake.outPath; top-level-flake.outPath;
# for running "nix search nixpkgs", etc # for running "nix search nixpkgs", etc
nix.registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;