2023-07-15 12:52:46 +00:00
|
|
|
{
|
2023-11-06 07:40:32 +00:00
|
|
|
description = "SelfPrivacy NixOS configuration flake";
|
2023-07-15 12:52:46 +00:00
|
|
|
|
|
|
|
inputs = {
|
2023-07-17 00:58:26 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs";
|
|
|
|
selfprivacy-overlay.url =
|
|
|
|
"git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git";
|
2023-07-15 12:52:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, selfprivacy-overlay }:
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in
|
|
|
|
{
|
2023-11-06 07:40:32 +00:00
|
|
|
nixosConfigurations-fun = { hardware-configuration, userdata }: {
|
2023-07-15 12:52:46 +00:00
|
|
|
just-nixos = nixpkgs.lib.nixosSystem {
|
2023-07-17 00:19:57 +00:00
|
|
|
specialArgs = { inherit system selfprivacy-overlay userdata; };
|
2023-11-06 07:40:32 +00:00
|
|
|
modules = [ hardware-configuration ./configuration.nix ];
|
2023-07-15 12:52:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|