feat: add haskell tools
This commit is contained in:
parent
ae9754a466
commit
c5f0d28b71
4 changed files with 21 additions and 5 deletions
13
flake.nix
13
flake.nix
|
@ -10,6 +10,11 @@
|
|||
|
||||
inputs.nur.url = "github:nix-community/NUR/master";
|
||||
|
||||
inputs.obelisk = {
|
||||
url = "github:obsidiansystems/obelisk";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
inputs.pre-commit-hooks = {
|
||||
url =
|
||||
# "github:Myhlamaeus/pre-commit-hooks.nix/feat/flake";
|
||||
|
@ -17,7 +22,8 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, home-manager, nur, pre-commit-hooks }:
|
||||
outputs = { self, nixpkgs, flake-utils, home-manager, nur, obelisk
|
||||
, pre-commit-hooks }:
|
||||
let
|
||||
overlays = {
|
||||
deconz = self: super: {
|
||||
|
@ -26,6 +32,9 @@
|
|||
# with python{version}Packages.callPackage pydeconz { }
|
||||
pydeconz = ./pkgs/pydeconz;
|
||||
};
|
||||
obelisk = self: super: {
|
||||
obelisk = (import obelisk { inherit (self) system; }).command;
|
||||
};
|
||||
};
|
||||
systemModule = { hostName, hardwareConfig, config }:
|
||||
({ pkgs, ... }: {
|
||||
|
@ -37,7 +46,7 @@
|
|||
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
|
||||
nixpkgs.overlays = [ nur.overlay overlays.deconz ];
|
||||
nixpkgs.overlays = [ nur.overlay overlays.deconz overlays.obelisk ];
|
||||
|
||||
imports =
|
||||
[ hardwareConfig home-manager.nixosModules.home-manager config ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue