Add git-fs-monitor #4

Merged
erwin merged 1 commit from erwin/git-fs-monitor into main 2024-03-28 23:21:03 +01:00 AGit
3 changed files with 71 additions and 1 deletions
Showing only changes of commit 1ff273fde0 - Show all commits

View file

@ -111,6 +111,27 @@
} }
}, },
"crane_2": { "crane_2": {
"inputs": {
"nixpkgs": [
"git-fs-monitor",
"nixpkgs"
]
},
"locked": {
"lastModified": 1711586303,
"narHash": "sha256-iZDHWTqQj6z6ccqTSEOPOxQ8KMFAemInUObN2R9vHSs=",
"owner": "ipetkov",
"repo": "crane",
"rev": "a329cd00398379c62e76fc3b8d4ec2934260d636",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"crane_3": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_4", "flake-compat": "flake-compat_4",
"flake-utils": [ "flake-utils": [
@ -409,6 +430,37 @@
"type": "github" "type": "github"
} }
}, },
"git-fs-monitor": {
"inputs": {
"crane": "crane_2",
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks": [
"pre-commit-hooks"
],
"rust-overlay": [
"rust-overlay"
]
},
"locked": {
"lastModified": 1711662933,
"narHash": "sha256-ZZRs5tAJElwsr0xs3wgUesAicPj9bkZ4DswTLSI00cI=",
"ref": "main",
"rev": "b3bdcdc4a31e995021ecbb7afedeabec5748eef9",
"revCount": 3,
"type": "git",
"url": "ssh://git@git.datarift.nl/erwin/git-fs-monitor.git"
},
"original": {
"ref": "main",
"type": "git",
"url": "ssh://git@git.datarift.nl/erwin/git-fs-monitor.git"
}
},
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -432,7 +484,7 @@
}, },
"ha-now-playing": { "ha-now-playing": {
"inputs": { "inputs": {
"crane": "crane_2", "crane": "crane_3",
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
@ -767,6 +819,7 @@
"eww": "eww", "eww": "eww",
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"git-fs-monitor": "git-fs-monitor",
"ha-now-playing": "ha-now-playing", "ha-now-playing": "ha-now-playing",
"home-manager": "home-manager", "home-manager": "home-manager",
"microvm": "microvm", "microvm": "microvm",

View file

@ -135,6 +135,16 @@
flake-parts.follows = "flake-parts"; flake-parts.follows = "flake-parts";
}; };
}; };
git-fs-monitor = {
url = "git+ssh://git@git.datarift.nl/erwin/git-fs-monitor.git?ref=main";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
rust-overlay.follows = "rust-overlay";
pre-commit-hooks.follows = "pre-commit-hooks";
};
};
}; };
outputs = outputs =

View file

@ -2,6 +2,7 @@
pkgs, pkgs,
config, config,
lib, lib,
flake-inputs,
... ...
}: }:
with lib; with lib;
@ -109,6 +110,12 @@ in
core = { core = {
editor = "${config.eboskma.programs.emacs.package}/bin/emacsclient"; editor = "${config.eboskma.programs.emacs.package}/bin/emacsclient";
pager = "${pkgs.bat}/bin/bat"; pager = "${pkgs.bat}/bin/bat";
untrackedCache = true;
fsmonitor =
let
git-fs-monitor = flake-inputs.git-fs-monitor.packages.${pkgs.system}.default;
in
"${git-fs-monitor}/bin/git-fs-monitor";
}; };
merge = { merge = {
ff = "only"; ff = "only";