forked from WireGuard/wireguard-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
36 lines (30 loc) · 831 Bytes
/
flake.nix
File metadata and controls
36 lines (30 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
description = "userwireguard";
inputs = {
devshell = {
url = "github:numtide/devshell";
inputs.systems.follows = "systems";
};
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-24.05"; };
systems.url = "github:nix-systems/default";
};
outputs = { self, nixpkgs, systems, ... }@inputs:
let
eachSystem = f:
nixpkgs.lib.genAttrs (import systems) (system:
f (import nixpkgs {
inherit system;
config = { allowUnfree = true; };
}));
in {
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
shellHook = ''
# Set here the env vars you want to be available in the shell
'';
hardeningDisable = [ "all" ];
packages = [ pkgs.go_1_23 ];
};
});
};
}