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

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 approved these changes 2025-10-07 08:58:41 +02:00
Aviac left a comment
Owner

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

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? ^^'
Aviac merged commit df490ed616 into main 2025-10-07 08:59:22 +02:00
Aviac referenced this pull request from a commit 2025-10-07 08:59:24 +02:00
Sign in to join this conversation.
No description provided.