diff --git a/modules/hosts/laptop.nix b/modules/hosts/laptop.nix index 106acb8..f6b1400 100644 --- a/modules/hosts/laptop.nix +++ b/modules/hosts/laptop.nix @@ -66,6 +66,7 @@ librewolf mullvad neovim + nixGitCherryPicker-laptop notewrapper oh-my-zsh ripgrep diff --git a/modules/utilities/nixGitCherryPicker.nix b/modules/utilities/nixGitCherryPicker.nix index f1dc079..44d2a5e 100644 --- a/modules/utilities/nixGitCherryPicker.nix +++ b/modules/utilities/nixGitCherryPicker.nix @@ -1,5 +1,5 @@ {inputs, ...}: { - flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: { + flake.homeModules.nixGitCherryPicker-laptop = {pkgs, ...}: { home.packages = [ inputs.nix-git-cherry-picker.packages.${pkgs.system}.default ]; @@ -7,12 +7,28 @@ enable = true; text = '' { - "localBranch": "desktop", - "remoteBranch": "laptop", + "localBranch": "laptop", + "remoteBranch": "desktop", "nixConfigPath": "/home/tomasr/nixos/" } ''; force = true; }; }; -} + flake.homeModules.nix-git-cherry-picker-desktop = {pkgs, ...}: { + home.packages = [ + inputs.nix-git-cherry-picker.packages.${pkgs.system}.default + ]; + }; + home.file-".config/nix-git-cherry-picker/config.json" = { + enable = true; + text = '' + { + "localBranch": "desktop", + "remoteBranch": "laptop", + "nixConfigPath": "/home/tomasr/nixos/" + } + ''; + force = true; + }; +} \ No newline at end of file