refactor(flake.nix): Refactor shell package lists to use attrValues

This commit is contained in:
Tristan Daniël Maat 2025-09-29 13:04:47 +08:00
parent e2012ebc9a
commit 099666d14d
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -142,16 +142,16 @@
"./keys/hosts/" "./keys/hosts/"
"./keys/users/" "./keys/users/"
]; ];
nativeBuildInputs = [ sops-nix.packages.${system}.sops-import-keys-hook ];
packages = with pkgs; [ packages = nixpkgs.lib.attrValues {
sops-nix.packages.${system}.sops-init-gpg-key inherit (sops-nix.packages.${system}) sops-import-keys-hook sops-init-gpg-key;
deploy-rs.packages.${system}.default inherit (deploy-rs.packages.${system}) default;
nixpkgs-fmt };
];
}; };
minecraft = nixpkgs.legacyPackages.${system}.mkShell { packages = [ pkgs.packwiz ]; }; minecraft = nixpkgs.legacyPackages.${system}.mkShell {
packages = nixpkgs.lib.attrValues { inherit (nixpkgs.legacyPackages.${system}) packwiz; };
};
}; };
}; };
} }