summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-01-29 13:03:01 +1000
committerGitHub <noreply@github.com>2024-01-29 13:03:01 +1000
commit00538eecf2d1a8f98a53a71c9c84f913003ec5e8 (patch)
treee72ff62156990ae890f1b31214a75484e3cb180d /modules
parent0108864c15bb68ad57d17fb2e7d3a3e025751d79 (diff)
parent492944b0f2c539240dc99392eb07f9064cb93c93 (diff)
Merge pull request #861 from thanegill/darwin-rebuild-completions
Add zsh completions to darwin-rebuld by default
Diffstat (limited to 'modules')
-rw-r--r--modules/examples/lnl.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix
index 264bd1a..2edf6cb 100644
--- a/modules/examples/lnl.nix
+++ b/modules/examples/lnl.nix
@@ -308,40 +308,6 @@
nixpkgs.overlays = [
(self: super: {
- darwin-zsh-completions = super.runCommand "darwin-zsh-completions-0.0.0"
- { preferLocalBuild = true; }
- ''
- mkdir -p $out/share/zsh/site-functions
-
- cat <<-'EOF' > $out/share/zsh/site-functions/_darwin-rebuild
- #compdef darwin-rebuild
- #autoload
-
- _nix-common-options
-
- local -a _1st_arguments
- _1st_arguments=(
- 'switch:Build, activate, and update the current generation'\
- 'build:Build without activating or updating the current generation'\
- 'check:Build and run the activation sanity checks'\
- 'changelog:Show most recent entries in the changelog'\
- )
-
- _arguments \
- '--list-generations[Print a list of all generations in the active profile]'\
- '--rollback[Roll back to the previous configuration]'\
- {--switch-generation,-G}'[Activate specified generation]'\
- '(--profile-name -p)'{--profile-name,-p}'[Profile to use to track current and previous system configurations]:Profile:_nix_profiles'\
- '1:: :->subcmds' && return 0
-
- case $state in
- subcmds)
- _describe -t commands 'darwin-rebuild subcommands' _1st_arguments
- ;;
- esac
- EOF
- '';
-
vim_configurable = super.vim_configurable.override {
guiSupport = "no";
};