mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
replace flake-utils with flake-parts
This commit is contained in:
parent
819c842620
commit
48d6936889
4 changed files with 85 additions and 75 deletions
44
shell.nix
44
shell.nix
|
@ -1,17 +1,31 @@
|
|||
{ mkShellNoCC
|
||||
, ssh-to-age
|
||||
, sops
|
||||
, sops-import-keys-hook
|
||||
, deploy-rs
|
||||
, nixpkgs-fmt
|
||||
}:
|
||||
#{ mkShellNoCC
|
||||
#, ssh-to-age
|
||||
#, sops
|
||||
#, sops-import-keys-hook
|
||||
#, deploy-rs
|
||||
#, nixpkgs-fmt
|
||||
#}:
|
||||
#
|
||||
#mkShellNoCC {
|
||||
# nativeBuildInputs = [
|
||||
# ssh-to-age
|
||||
# sops
|
||||
# sops-import-keys-hook
|
||||
# deploy-rs
|
||||
# nixpkgs-fmt
|
||||
# ];
|
||||
#}
|
||||
|
||||
mkShellNoCC {
|
||||
nativeBuildInputs = [
|
||||
ssh-to-age
|
||||
sops
|
||||
sops-import-keys-hook
|
||||
deploy-rs
|
||||
nixpkgs-fmt
|
||||
];
|
||||
{
|
||||
perSystem = { inputs', pkgs, ... }: {
|
||||
# Definitions like this are entirely equivalent to the ones
|
||||
# you may have directly in flake.nix.
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
nativeBuildInputs = [
|
||||
inputs'.sops-nix.packages.sops-import-keys-hook
|
||||
inputs'.deploy-rs.packages.deploy-rs
|
||||
pkgs.nixpkgs-fmt
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue