Skip to content

Commit

Permalink
Tidy devshells
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Nov 23, 2023
1 parent 927e347 commit 2dbf69a
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,32 +71,29 @@
system: let
pkgs = nixpkgs.legacyPackages.${system};
nixos-anywhere = inputs.nixos-anywhere.packages.${system}.nixos-anywhere;
common = with pkgs; [
sops
];
in {
default = pkgs.mkShell {
nativeBuildInputs =
(with pkgs; [
nixos-anywhere

alejandra
treefmt
])
++ common;
packages = with pkgs; [
nixos-anywhere

alejandra
treefmt

sops
];
};

bootstrap = pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs =
(with pkgs; [
git
home-manager
neovim
nix
ssh-to-age
])
++ common;

packages = with pkgs; [
git
home-manager
neovim
nix
ssh-to-age
sops
];
};
}
);
Expand Down

0 comments on commit 2dbf69a

Please sign in to comment.