Added aarch64 devShell in preparation for the future
This commit is contained in:
parent
d62a7ef576
commit
b9f445c747
1 changed files with 19 additions and 6 deletions
25
flake.nix
25
flake.nix
|
|
@ -128,17 +128,30 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
checks.x86_64-linux = {
|
checks = {
|
||||||
pre-commit-check = pre-commit-hooks.lib."x86_64-linux".run {
|
"x86_64-linux" = {
|
||||||
src = ./.;
|
pre-commit-check = pre-commit-hooks.lib."x86_64-linux".run {
|
||||||
hooks = { nixfmt.enable = true; };
|
src = ./.;
|
||||||
|
hooks = { nixfmt.enable = true; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"aarch64-linux" = {
|
||||||
|
pre-commit-check = pre-commit-hooks.lib."aarch64-linux".run {
|
||||||
|
src = ./.;
|
||||||
|
hooks = { nixfmt.enable = true; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.x86_64-linux.default =
|
devShells = {
|
||||||
nixpkgs.legacyPackages."x86_64-linux".mkShell {
|
"x86_64-linux".default = nixpkgs.legacyPackages."x86_64-linux".mkShell {
|
||||||
inherit (self.checks."x86_64-linux".pre-commit-check) shellHook;
|
inherit (self.checks."x86_64-linux".pre-commit-check) shellHook;
|
||||||
};
|
};
|
||||||
|
"aarch64-linux".default =
|
||||||
|
nixpkgs.legacyPackages."aarch64-linux".mkShell {
|
||||||
|
inherit (self.checks."aarch64-linux".pre-commit-check) shellHook;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nixosModules.qbittorrent = import ./modules/qbittorrent.nix;
|
nixosModules.qbittorrent = import ./modules/qbittorrent.nix;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue