10
310
Fork
You've already forked codeberg-cli
33

feat: add home-manager module #246

Merged
Aviac merged 1 commit from zwiebelkuchen/codeberg-cli:home-manager into main 2025年10月07日 08:59:22 +02:00
Contributor
Copy link

Create a home-manager module that can be consumed the configure codeberg-cli via nix.

For now it simply creates the toml-config file from the given settings attr-set.

Create a home-manager module that can be consumed the configure `codeberg-cli` via nix. For now it simply creates the toml-config file from the given settings attr-set.
Aviac left a comment
Owner
Copy link

Thanks for the contribution! Awesome stuff!

I think I'm fine with merging this. I would really like to have a nixos test for this though, so we can verify it works in the repository itself. I'm not experienced with home-manager nixos tests though so let's just postpone this into a future issue/PR.

Thanks for the contribution! Awesome stuff! I think I'm fine with merging this. I would really like to have a nixos test for this though, so we can verify it works in the repository itself. I'm not experienced with home-manager nixos tests though so let's just postpone this into a future issue/PR.
@ -0,0 +18,4 @@
options.programs.berg = {
enable = lib.mkEnableOption "codeberg-cli";
package = lib.mkOption {
Owner
Copy link

does lib.mkPackageOption inputs.self.packages.${pkgs.stdenv.system} "berg" not work here? ^^'

does `lib.mkPackageOption inputs.self.packages.${pkgs.stdenv.system} "berg"` not work here? ^^'
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aviac/codeberg-cli!246
Reference in a new issue
Aviac/codeberg-cli
No description provided.
Delete branch "zwiebelkuchen/codeberg-cli:home-manager"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?