Initial commit
This commit is contained in:
commit
aca6849738
5 changed files with 96 additions and 0 deletions
17
flake.nix
Normal file
17
flake.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
description = "Soft U2F";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
softu2f = system: nixpkgs.legacyPackages.${system}.callPackage ./softu2f.nix { };
|
||||
in
|
||||
{
|
||||
packages."x86_64-linux".softu2f = softu2f "x86_64-linux";
|
||||
defaultPackage."x86_64-linux" = self.packages."x86_64-linux".softu2f;
|
||||
nixosModules.softu2f = import ./module.nix;
|
||||
nixosModule = self.nixosModules.softu2f;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue