feat(flake): add a devshell
This commit is contained in:
parent
25960d2e0b
commit
2d56a8a28e
1 changed files with 15 additions and 1 deletions
16
flake.nix
16
flake.nix
|
@ -12,8 +12,22 @@
|
||||||
let
|
let
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
# TODO: make a multiach flake
|
||||||
|
devShells.x86_64-linux.default =
|
||||||
|
let
|
||||||
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
|
in pkgs.mkShell {
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pkgs.shellcheck
|
||||||
|
pkgs.lefthook
|
||||||
|
pkgs.go-task
|
||||||
|
pkgs.convco
|
||||||
|
pkgs.typos
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixosConfigurations = {
|
||||||
morty = nixpkgs.lib.nixosSystem {
|
morty = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue