mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-22 11:41:26 +00:00
attempt to readFile userdsata.json
This commit is contained in:
parent
ee2a895c61
commit
d4af9f4459
|
@ -6,18 +6,20 @@
|
|||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
# selfprivacy-overlay.url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo/archive/22-11.tar.gz";
|
||||
selfprivacy-overlay.url = "git+file:///data/selfprivacy/selfprivacy-nix-repo";
|
||||
# userdata-json.url = ./userdata/userdata.json;
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, selfprivacy-overlay }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
# pkgs = import nixpkgs { inherit system; };
|
||||
userdata = builtins.fromJSON (builtins.readFile ./userdata/userdata.json);
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
just-nixos = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit system; };
|
||||
specialArgs = { inherit system selfprivacy-overlay userdata; };
|
||||
|
||||
modules = [ ./configuration.nix ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue