feat(shells): Add Nix devShell

This commit is contained in:
punkfairie 2024-11-17 16:29:23 -08:00
parent 9d38846b58
commit ac30155eef
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 13 additions and 9 deletions

View file

@ -19,6 +19,10 @@
outputs-builder = channels: { outputs-builder = channels: {
formatter = channels.nixpkgs.nixfmt-rfc-style; formatter = channels.nixpkgs.nixfmt-rfc-style;
}; };
alias = {
shells.default = "nix";
};
}; };
inputs = { inputs = {

View file

@ -1,6 +1,5 @@
{ {
lib, lib,
pkgs,
... ...
}: }:
let let
@ -11,14 +10,6 @@ in
targets.genericLinux = enabled; targets.genericLinux = enabled;
# TODO: Move this to a dev shell
home.packages = with pkgs; [
nixfmt-rfc-style
nil
statix
manix
];
marleyos = { marleyos = {
isDesktop = true; isDesktop = true;

9
shells/nix/default.nix Normal file
View file

@ -0,0 +1,9 @@
{ mkShell, pkgs, ... }:
mkShell {
packages = with pkgs; [
nixfmt-rfc-style
nil
statix
manix
];
}