mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 12:51:30 +00:00
selfprivacy/current-config-source => selfprivacy/nixos-config-source
This commit is contained in:
parent
a3063ec732
commit
308a70fe20
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue