move all json files to local subfolder
parent
ec1d28726f
commit
fa6492b0c5
|
@ -1,3 +1,3 @@
|
||||||
userdata/userdata.json
|
local/profiles/users.json
|
||||||
hardware-configuration.nix
|
hardware-configuration.nix
|
||||||
networking.nix
|
networking.nix
|
|
@ -1,9 +1,9 @@
|
||||||
# SelfPrivacy NixOS configuration
|
# SelfPrivacy NixOS configuration
|
||||||
|
|
||||||
This is a NixOS config which builds a SelfPrivacy server distribution
|
This is a NixOS config which builds a SelfPrivacy server distribution
|
||||||
based on data provided in `userdata/userdata.json`.
|
based on data provided in `local/profiles/users.json`.
|
||||||
|
|
||||||
JSON schema is provided in `userdata/schema.json` for reference.
|
JSON schema is provided in `generic/profiles/schema.json` for reference.
|
||||||
|
|
||||||
**hardware-configuration.nix is not included.**
|
**hardware-configuration.nix is not included.**
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/a7kmh1b3y8p4d15539dp1jbqggbs2zfs-nixos-system-ruleit-21.05.4394.2553aee74fe
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
userdata = builtins.fromJSON (builtins.readFile ./userdata/userdata.json);
|
userdata = builtins.fromJSON (builtins.readFile ./local/profiles/users.json);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue