From 1eb6870cfbc325e23442b42d44c4ed2f362f2bf3 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Mon, 8 Sep 2025 22:29:11 +0200 Subject: Hosts: Setup jujutsu with git-crypt support --- flake.nix | 2 ++ hosts/home.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index cdd0ea3..45ab79b 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,8 @@ nixtest.url = "github:jetpack-io/nixtest"; + jj.url = "github:gusinacio/jj/lfs"; + nix-index = { url = "github:nix-community/nix-index-database"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/hosts/home.nix b/hosts/home.nix index 6528beb..045d277 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -9,6 +9,7 @@ dotfiles, location, stateVersion, + system, ... }: { imports = [ @@ -183,6 +184,7 @@ jujutsu = { enable = true; + package = inputs.jj.packages."${system}".jujutsu; settings = { user = { name = "Baitinq"; @@ -193,6 +195,7 @@ backend = "gpg"; key = "18BE4F736F27FC190C1E1000BB3C0BC698650937"; }; + git.ignore-filters = ["git-crypt"]; }; }; -- cgit 1.4.1