19 lines
625 B
Nix
19 lines
625 B
Nix
{
|
|
description = "SelfPrivacy NixOS configuration local flake";
|
|
|
|
inputs.selfprivacy-nixos-config.url = "git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git";
|
|
|
|
outputs = { self, selfprivacy-nixos-config }:
|
|
let
|
|
userdata = builtins.fromJSON (builtins.readFile ./userdata/userdata.json);
|
|
hardware-configuration = ./hardware-configuration.nix;
|
|
in
|
|
{
|
|
# TODO embed self revision, maybe pass self as an argument
|
|
nixosConfigurations =
|
|
selfprivacy-nixos-config.outputs.nixosConfigurations-fun {
|
|
inherit hardware-configuration userdata;
|
|
};
|
|
};
|
|
}
|