Compare commits
No commits in common. "b437a4a508924a9589914be6be232c6b4c1dd2c5" and "b31965d566ca0e7c477fcbf07e55abf03178d52a" have entirely different histories.
b437a4a508
...
b31965d566
3 changed files with 64 additions and 0 deletions
30
README.md
30
README.md
|
|
@ -42,3 +42,33 @@ Add the following to your nix configuration:
|
|||
```
|
||||
|
||||
## Modules
|
||||
|
||||
### helium-sync
|
||||
|
||||
#### NixOS
|
||||
```nix
|
||||
{
|
||||
inputs.imnyang.url = "git+https://git.mizuki.guru/imnyang/nix-packages.git";
|
||||
outputs = { self, nixpkgs, imnyang }: {
|
||||
nixosConfigurations.my-host = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
imnyang.nixosModules.helium-sync
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
#### Home Manager
|
||||
```nix
|
||||
{
|
||||
inputs.imnyang.url = "git+https://git.mizuki.guru/imnyang/nix-packages.git";
|
||||
outputs = { self, home-manager, imnyang, ... }: {
|
||||
homeConfigurations.my-user = home-manager.lib.homeManagerConfiguration {
|
||||
modules = [
|
||||
imnyang.homeManagerModules.helium-sync
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { };
|
||||
pjsk-cursor = final.callPackage ./pkgs/pjsk-cursor/default.nix { };
|
||||
helium = final.callPackage ./pkgs/helium/default.nix { };
|
||||
helium-sync = final.callPackage ./pkgs/helium-sync/default.nix { };
|
||||
vscode-insiders = final.callPackage ./pkgs/vscode-insiders/default.nix { };
|
||||
};
|
||||
|
||||
|
|
@ -26,13 +27,19 @@
|
|||
in {
|
||||
overlays.default = overlay;
|
||||
|
||||
nixosModules.helium-sync = import ./modules/helium-sync.nix;
|
||||
homeManagerModules.helium-sync = import ./modules/helium-sync-hm.nix;
|
||||
|
||||
packages.${system} = {
|
||||
inherit (pkgs)
|
||||
waterfox-bin
|
||||
xcursor-mizuki
|
||||
pjsk-cursor
|
||||
helium
|
||||
helium-sync
|
||||
vscode-insiders;
|
||||
|
||||
default = pkgs.helium; # 예시로 하나를 기본값으로 지정
|
||||
};
|
||||
|
||||
nixConfig = {
|
||||
|
|
|
|||
27
pkgs/helium-sync/default.nix
Normal file
27
pkgs/helium-sync/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "helium-sync";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "imnyang";
|
||||
repo = "helium-sync";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ARd2S9c5iFVvSwFTyZjEB2w1l54vvYBXKZTESWpCqvw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-sWi8QV1uMjfgRMATjXb/qCp6IvBQojtLI3Gr2BHS9Hs=";
|
||||
|
||||
subPackages = [ "cmd/helium-sync" ];
|
||||
|
||||
meta = {
|
||||
description = "Synchronize selected Helium browser profile data across devices using Amazon S3";
|
||||
homepage = "https://github.com/imnyang/helium-sync";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "helium-sync";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue