mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 04:21:08 +01:00
go-freeze: Add module to configure package
⚠️ This PR requires `NixOS/nixpkgs#455648` to be accepted and
`flake.lock` file here to be updated.
This commit is contained in:
parent
bd92e8ee4a
commit
ecf3649681
5 changed files with 227 additions and 0 deletions
31
modules/misc/news/2025/10/2025-10-25_14-37-46.nix
Normal file
31
modules/misc/news/2025/10/2025-10-25_14-37-46.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
time = "2025-10-25T21:37:46+00:00";
|
||||
condition = true;
|
||||
message = ''
|
||||
A new module is available: `programs.go-freeze`
|
||||
|
||||
`go-freeze` is a CLI tool that to generate mages of code and terminal
|
||||
output.
|
||||
|
||||
This module allows for defining named configuration files via
|
||||
`settings.<name>` attributes, ex.
|
||||
|
||||
```nix
|
||||
{
|
||||
programs.go-freeze = {
|
||||
enable = true;
|
||||
|
||||
settings.user = {
|
||||
theme = "gruvbox-dark";
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
... which may be activated at runtime by name;
|
||||
|
||||
```bash
|
||||
go-freeze -c user -l bash <<<'echo "hello world"';
|
||||
```
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue