diff --git a/common/home.nix b/common/home.nix index 03f2c3b5..d2a2b609 100644 --- a/common/home.nix +++ b/common/home.nix @@ -235,6 +235,7 @@ enable = true; enableFishIntegration = true; enableNushellIntegration = true; + theme = builtins.fromTOML (builtins.readFile "${pkgs.catppuccinThemes.yazi}/themes/mocha.toml"); }; bat = { enable = true; diff --git a/justfile b/justfile index b62f71b7..f3dde35a 100644 --- a/justfile +++ b/justfile @@ -3,11 +3,11 @@ set dotenv-load # clean := `git diff-index --quiet --cached HEAD --` [macos] -install: +install: local nix run nix-darwin -- switch --flake . [linux] -install: +install: local sudo nixos-rebuild switch --flake . build: @@ -16,3 +16,6 @@ build: home: nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace + +local: + nix flake lock --update-input subflakes diff --git a/themes/catppuccin.nix b/themes/catppuccin.nix index 20cc1816..f3245b10 100644 --- a/themes/catppuccin.nix +++ b/themes/catppuccin.nix @@ -65,6 +65,12 @@ in { rev = "be3d0ee1ba0fc26baf7a47c2aa7032b7541deb0f"; sha256 = "sha256-czvR3bVZ0NfBmuu0JixalS7B1vf1uEGSTSUVVTclKxI"; }; + # https://github.com/catppuccin/yazi + yazi = mkCatppuccin { + item = "yazi"; + rev = "0846aed69b2a62d29c98e100af0cf55ca729723d"; + sha256 = "sha256-2T41qWMe++3Qxl9veRNHMeRI3eU4+LAueKTss02gYNk"; + }; # gtk = pkgs.catppuccin-gtk.override { # variant = "mocha";