try more advanced diff

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-17 14:34:35 -06:00
parent e70046ede1
commit 5271c21c50
2 changed files with 165 additions and 55 deletions

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.impermanence.tools;
@ -9,7 +14,7 @@ let
in
{
options.impermanence.tools = {
enable = lib.mkEnableOption "bcachefs impermanence tools (GC + CLI)";
# enable = lib.mkEnableOption "bcachefs impermanence tools (GC + CLI)";
snapshotRoot = lib.mkOption {
type = lib.types.str;
@ -44,7 +49,8 @@ in
};
};
config = lib.mkIf cfg.enable {
config = {
# config = lib.mkIf cfg.enable {
environment.systemPackages = [
bcacheImpermanenceBin
pkgs.coreutils