chore: replace deploy-rs with nixinate
This commit is contained in:
parent
d6b34b37e4
commit
fca8b6d29c
7 changed files with 63 additions and 102 deletions
38
flake.nix
38
flake.nix
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue