chore: replace deploy-rs with nixinate

This commit is contained in:
uku 2024-06-23 22:48:22 +02:00
parent d6b34b37e4
commit fca8b6d29c
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
7 changed files with 63 additions and 102 deletions

View file

@ -1,15 +1,37 @@
{
description = "example flake idk";
outputs = {flake-parts, ...} @ inputs:
outputs = {
self,
flake-parts,
nixinate,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux"];
imports = [
./parts
./systems
./exprs
];
perSystem = {
pkgs,
system,
...
}: {
apps = (nixinate.nixinate.${system} self).nixinate;
devShells.default = pkgs.mkShellNoCC {
packages = with pkgs; [
just
statix
nix-output-monitor
];
};
formatter = pkgs.alejandra;
};
};
inputs = {
@ -30,13 +52,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
inputs.flake-compat.follows = "";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
@ -64,6 +79,11 @@
inputs.flake-compat.follows = "";
};
nixinate = {
url = "github:matthewcroughan/nixinate";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";