Documentation ¶
Overview ¶
package nix contains nix related actions
Index ¶
- func ActionAttributes(opts AttributeOpts) carapace.Action
- func ActionChannelPackages() carapace.Action
- func ActionConfigKeys() carapace.Action
- func ActionConfigValues(key string) carapace.Action
- func ActionDevShells() carapace.Action
- func ActionFlakes() carapace.Action
- func ActionInstallables() carapace.Action
- func ActionLocalChannels() carapace.Action
- func ActionNarFileContents(file string) carapace.Action
- func ActionPackages(channel string) carapace.Action
- func ActionPaths() carapace.Action
- func ActionRemoteChannels() carapace.Action
- func ActionTemplates() carapace.Action
- type AttributeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionAttributes ¶
func ActionAttributes(opts AttributeOpts) carapace.Action
ActionAttributes completes attributes
firefox git
func ActionChannelPackages ¶
ActionChannelPackages completes local channels and their packages
nixos.g++ nixos.gacutil
func ActionConfigKeys ¶
ActionConfigKeys completes config keys
access-tokens (Access tokens used to access protected GitHub, GitLab, or other locations) allow-dirty (Whether to allow dirty Git/Mercurial trees)
func ActionDevShells ¶ added in v1.0.2
ActionDevShells completes a flake and development shells from that flake
func ActionInstallables ¶ added in v1.0.2
ActionInstallables completes nix packages and flakes
An installable nix derivation can either be a nix package (legacyPackages) or a nixosModules output of a flake. There is no completion support implemented for flake outputs due to the processing time required, so ActionInstallables completes packages from the global/system/user channels available and flake names from the global/system/user registry
func ActionLocalChannels ¶
ActionLocalChannels completes local channels
nixos (https://nixos.org/channels/nixos-22.05) nixpkgs (https://nixos.org/channels/nixpkgs-unstable)
func ActionPaths ¶
ActionPaths completes paths
A path can be one of:
- a local file path (default.nix)
- an http/https URL (https://releases.nixos.org/../nixexprs.tar.xz
- a channel: specifier (channel:nixos-22.05)
- a local channel (<nixpkgs>)
func ActionRemoteChannels ¶
ActionRemoteChannels completes remote channels
nixos-21.11-small (unmaintained) nixos-22.05 (stable)
func ActionTemplates ¶ added in v1.0.2
ActionTemplates completes the templates outputs of the system template flake