feat(shells): Add Nix devShell
This commit is contained in:
parent
9d38846b58
commit
ac30155eef
3 changed files with 13 additions and 9 deletions
|
@ -19,6 +19,10 @@
|
|||
outputs-builder = channels: {
|
||||
formatter = channels.nixpkgs.nixfmt-rfc-style;
|
||||
};
|
||||
|
||||
alias = {
|
||||
shells.default = "nix";
|
||||
};
|
||||
};
|
||||
|
||||
inputs = {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -11,14 +10,6 @@ in
|
|||
|
||||
targets.genericLinux = enabled;
|
||||
|
||||
# TODO: Move this to a dev shell
|
||||
home.packages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
statix
|
||||
manix
|
||||
];
|
||||
|
||||
marleyos = {
|
||||
isDesktop = true;
|
||||
|
||||
|
|
9
shells/nix/default.nix
Normal file
9
shells/nix/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ mkShell, pkgs, ... }:
|
||||
mkShell {
|
||||
packages = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
statix
|
||||
manix
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue