cleanup
This commit is contained in:
parent
c42fccb20a
commit
6221a470a3
7 changed files with 97 additions and 7 deletions
10
flake.nix
10
flake.nix
|
@ -10,13 +10,19 @@
|
|||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in {
|
||||
nixosModules = {
|
||||
batmon = ./nix/module.nix {inherit self;};
|
||||
};
|
||||
|
||||
packages = forEachSystem (system: {
|
||||
batmon = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||
default = self.${system}.batmon;
|
||||
default = self.packages.${system}.batmon;
|
||||
});
|
||||
|
||||
devShells = forEachSystem (system: {
|
||||
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
|
||||
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {
|
||||
packagePath = ./nix/package.nix;
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue