diff options
| author | Jamie Magee <JamieMagee@users.noreply.github.com> | 2021-02-18 14:56:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-18 23:56:48 +0100 |
| commit | eed2d9f615763fdcc0e0fbcd204b8c489f8ba4a9 (patch) | |
| tree | f3889ba5ffa94d57d38562126336e862ee223082 /flake.nix | |
| parent | 1c13caed8ac906de6de8e7726e674cd72316e7e3 (diff) | |
Convert to flakes; build tarball with GitHub Actions
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..bb47a2a --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ + +{ + description = "NixOS WSL"; + + inputs = { + nixpkgs.url = "nixpkgs/nixos-20.09"; + }; + + outputs = { nixpkgs, ... }@inputs: { + nixosConfigurations = { + + mysystem = inputs.nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + (import ./configuration.nix) + (import ./build-tarball.nix) + ]; + specialArgs = { inherit inputs; }; + }; + }; + }; +} |
