docs: update README with module usage, add binary cache configuration to flake, and fix typo in vscode-insiders workflow
All checks were successful
CI / check (push) Successful in 5s
CI / list-packages (push) Successful in 2s
CI / build (default) (push) Successful in 4s
CI / build (helium) (push) Successful in 4s
CI / build (helium-sync) (push) Successful in 3s
CI / build (vscode-insiders) (push) Successful in 5s
CI / build (pjsk-cursor) (push) Successful in 3s
CI / build (waterfox-bin) (push) Successful in 4s
CI / build (xcursor-mizuki) (push) Successful in 3s
All checks were successful
CI / check (push) Successful in 5s
CI / list-packages (push) Successful in 2s
CI / build (default) (push) Successful in 4s
CI / build (helium) (push) Successful in 4s
CI / build (helium-sync) (push) Successful in 3s
CI / build (vscode-insiders) (push) Successful in 5s
CI / build (pjsk-cursor) (push) Successful in 3s
CI / build (waterfox-bin) (push) Successful in 4s
CI / build (xcursor-mizuki) (push) Successful in 3s
This commit is contained in:
parent
2c95a3039a
commit
f2b63501c1
3 changed files with 62 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check for new vscode-insiderss release
|
- name: Check for new vscode-insiders release
|
||||||
id: check
|
id: check
|
||||||
run: |
|
run: |
|
||||||
source /etc/bashrc
|
source /etc/bashrc
|
||||||
|
|
@ -56,7 +56,7 @@ jobs:
|
||||||
if: steps.check.outputs.updated == 'true'
|
if: steps.check.outputs.updated == 'true'
|
||||||
run: |
|
run: |
|
||||||
source /etc/bashrc
|
source /etc/bashrc
|
||||||
NIXPKGS_ALLOW_UNFREE=1 nix build .#vscode-insiderss
|
NIXPKGS_ALLOW_UNFREE=1 nix build .#vscode-insiders
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.check.outputs.updated == 'true'
|
if: steps.check.outputs.updated == 'true'
|
||||||
|
|
|
||||||
53
README.md
53
README.md
|
|
@ -1,6 +1,16 @@
|
||||||
# imnyang Nix Packages
|
# imnyang Nix Packages
|
||||||
imnyang's custom nixpkgs overlay.
|
imnyang's custom nixpkgs overlay.
|
||||||
|
|
||||||
|
## Included Packages
|
||||||
|
- `helium`: Helium AppImage wrapper
|
||||||
|
- `helium-sync`: Helium Sync utility
|
||||||
|
- `vscode-insiders`: VSCode Insiders
|
||||||
|
- `waterfox-bin`: Waterfox Browser
|
||||||
|
- `xcursor-mizuki`: Custom cursor
|
||||||
|
- `pjsk-cursor`: Custom cursor
|
||||||
|
|
||||||
|
[Build Status](https://git.mizuki.guru/imnyang/nix-packages/actions)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Add the following to your nix configuration:
|
Add the following to your nix configuration:
|
||||||
|
|
||||||
|
|
@ -19,5 +29,46 @@ Add the following to your nix configuration:
|
||||||
{
|
{
|
||||||
# use some packages
|
# use some packages
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
|
nixConfig = {
|
||||||
|
extra-substituters = [
|
||||||
|
"https://cache.mizuki.guru/public"
|
||||||
|
];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"cache.mizuki.guru:IgipakDD/clr0XbuaIejPYMT5UkTVGKVTxtWXcsbiAg="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -41,5 +41,14 @@
|
||||||
|
|
||||||
default = pkgs.helium; # 예시로 하나를 기본값으로 지정
|
default = pkgs.helium; # 예시로 하나를 기본값으로 지정
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixConfig = {
|
||||||
|
extra-substituters = [
|
||||||
|
"https://cache.mizuki.guru/public"
|
||||||
|
];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"cache.mizuki.guru:IgipakDD/clr0XbuaIejPYMT5UkTVGKVTxtWXcsbiAg="
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue