mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 12:51:30 +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";
|
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 = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo/archive/22-11.tar.gz";
|
||||||
selfprivacy-overlay.url = "git+file:///data/selfprivacy/selfprivacy-nix-repo";
|
selfprivacy-overlay.url = "git+file:///data/selfprivacy/selfprivacy-nix-repo";
|
||||||
|
# userdata-json.url = ./userdata/userdata.json;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, selfprivacy-overlay }:
|
outputs = { self, nixpkgs, selfprivacy-overlay }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
pkgs = import nixpkgs { inherit system; };
|
# pkgs = import nixpkgs { inherit system; };
|
||||||
|
userdata = builtins.fromJSON (builtins.readFile ./userdata/userdata.json);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
just-nixos = nixpkgs.lib.nixosSystem {
|
just-nixos = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit system; };
|
specialArgs = { inherit system selfprivacy-overlay userdata; };
|
||||||
|
|
||||||
modules = [ ./configuration.nix ];
|
modules = [ ./configuration.nix ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue