summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 647dcc241ac52da01ec1136781ccee84137f3c2d (plain)
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
{
  description = "k95aux flake";
  
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  };

  outputs = { self, nixpkgs }@inputs: let
    system = "x86_64-linux";
    pkgs = nixpkgs.legacyPackages.${system};
  in {
    devShells.${system}.default = pkgs.mkShell {
      packages = with pkgs; [
        bashInteractive
        gcc
      ];
    };

    packages.${system} = rec {
      k95aux = pkgs.callPackage ./package.nix {};
      default = k95aux;
    };

    nixosModules = rec {
      k95aux = import ./module.nix inputs;
      default = k95aux;
    };
  };
}