selfprivacy-nixos-config/flake.nix

23 lines
623 B
Nix
Raw Normal View History

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