Weijia Wang
def1e23be8
treewide: remove lib.mdDoc
2024-04-19 04:05:50 +02:00
Mathew Polzin
9090c6f897
nix-darwin/programs.direnv: init
2024-02-27 08:38:36 -06:00
Evan Petousis
f1a0d68a8f
etc: add known hash for /etc/zshenv
and /etc/nix/nix.conf
...
Adds support for DeterminateSystems installer 0.16.0 and later. Fixes #880 .
2024-02-23 18:45:24 +11:00
Jōshin
a3be68d105
Add option to disable zsh global compinit
...
Fixes #855 .
2024-01-21 03:24:00 -05:00
Wael M. Nasreddine
e58bcb921b
programs.ssh: write ssh known_hosts only if there are any set
2023-09-15 08:24:20 -07:00
Emily
e2187d633c
fish: simplify babelfishTranslate
2023-08-05 22:57:44 +01:00
Emily
e65825ca9e
fish: add default for babelfishPackage
...
This option should probably be dropped but I'd prefer to batch that
with using Babelfish by default (or unconditionally, as Home Manager
does) so as to avoid multiple independent breaking changes.
Fixes : #632
2023-08-05 21:36:54 +01:00
Jakub Janczak
6a00d1b59b
Update modules/programs/bash/default.nix
...
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2023-07-26 09:19:33 +02:00
Jakub Janczak
e21b70da3f
Don't run static bashrc only for pure nix-shell
2023-07-26 09:19:33 +02:00
Michael Hoang
63af129cb5
etc: use .before-nix-darwin
instead of .orig
2023-07-12 08:35:36 +10:00
Michael Hoang
4b90ea84e4
doc: store a copy of known files
2023-07-11 18:59:05 +10:00
Cuichen Li
8364529fc4
fix zsh eating output without new line ending
2023-07-10 15:00:02 +08:00
Emily
e65131e69c
treewide: convert all option docs to Markdown
...
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.
As of this commit there is no DocBook remaining in the options
documentation.
You can play along at home if you want to reproduce this commit:
$ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
nix shell nixpkgs#coreutils \
-c find . -name '*.nix' \
-exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
{} +
[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Michael Hoang
257b5c1994
ssh: fix public keys in home directory not working
...
Added `services.openssh.authorizedKeysFiles` option from NixOS.
2023-06-08 15:44:07 +10:00
sbh69840
f781cb0ac5
give credits
2023-05-10 21:39:27 +05:30
sbh69840
4094dbccde
newline eof for authorized-keys conf
2023-05-10 21:30:35 +05:30
sbh69840
ab2e16159f
authkeys path in sshd_config
2023-05-10 21:16:52 +05:30
sbh69840
ecb5840f6b
enable copy
2023-05-10 19:35:23 +05:30
sbh69840
64a15676ac
support authorized_keys for users
2023-05-10 19:28:00 +05:30
Tianyao Chou
a3cab812ac
add escape to shell aliases
2022-06-30 19:21:36 +02:00
Daiderd Jordan
44da835ac4
add forward compatibility for literalExample deprecation
...
Fixes #367
2021-10-23 15:06:42 +02:00
Daiderd Jordan
034600cb84
Merge pull request #288 from r-burns/fish-fenv
...
fish: fix fenv function path
2021-02-17 18:42:11 +01:00
Daiderd Jordan
c8be627ed0
Merge pull request #292 from MaxSchlueter/fix-gnupg-agent
...
Fix gnupg-agent being kept alive
2021-02-17 18:29:46 +01:00
Max Schlueter
6d4bf1a29e
Fix gnupg-agent being kept alive
...
The agent is restarted automatically after it has been launched
successfully, this creates a lot of noise in the logs. This change
reloads the agent only if it has crashed, i.e. returns with a non-zero
exit code.
2021-02-14 21:55:16 +09:00
Ryan Burns
771f01c4e6
fish: fix fenv function path
2021-02-04 17:52:27 -08:00
Kevin Griffin
aa5611cc81
fish: fix fenv reference on 20.09
...
Referring to the deprecated package first causes
an error to be thrown before the correct package can be selected.
2021-01-30 11:27:01 +09:00
Kevin Griffin
867ef96e0b
fish: add babelfish translation option
...
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
a specified babelfish package.
2021-01-17 10:30:27 +09:00
Dave Nicponski
0884b87b5c
Fix typo in nix-index docstring
2020-11-30 20:29:34 -05:00
Daiderd Jordan
079db5db5b
don't set SHELL automatically based on programs.<shell>.enable
2020-10-25 16:37:02 +01:00
Mario Rodas
a34dea283c
Remove deprecated types.loaOf
...
types.loaOf has been deprecated for a long time and is now in the
process of removal. See: https://github.com/NixOS/nixpkgs/pull/96042
2020-09-02 04:20:00 +00:00
Daiderd Jordan
20b9f53035
etc: add known hashes for bashrc/zsh/nix.conf
2020-06-17 19:37:07 +02:00
Jason Felice
ff77fcadc2
Rename programs.tmux.tmuxConfig -> extraConfig
2020-03-29 13:58:58 -04:00
Väinö Järvelä
e1000fc1a6
bash: Let bash load completions lazily
...
As described in detail here: https://github.com/NixOS/nixpkgs/issues/32533
bash will load completion scripts in $p/share/bash-completion/completions/ on
startup instead of letting bash-completion do it's lazy loading. Bash startup
will then slow down (very noticeable when bash-completion is installed in a
profile).
This commit leaves loading of scripts in the hands of bash-completion,
improving startup time for everyone using `enableCompletion`.
Fixes #101
2020-01-21 12:18:28 +01:00
zhujun
2ef552b4d0
tmux: clear __NIX_DARWIN_SET_ENVIRONMENT_DONE
...
This is necessary to allow shell sessions inside tmux having a chance to
set environment properly
2019-11-01 13:37:18 +08:00
Daiderd Jordan
ae58eb80d2
nix-script: remove
2019-06-05 21:45:47 +02:00
Daiderd Jordan
58a2956870
tmux: add defaultCommand option
2019-02-16 21:05:32 +01:00
Kirill Elagin
644d6acb7a
zsh: Add vendor-completions to fpath
2019-01-04 15:50:48 +03:00
Andrew Childs
676ef10377
Unify environment configuration and don't run in child shells
...
This should enable `nix run` to work under shells like fish and zsh,
as well as making child shells not needlessly reset any environment
that should be inherited.
Implementation adapted from NixOS.
2018-10-25 01:00:52 +09:00
Mario Rodas
1a786eb088
bash: place bashrc early non-interactive return below system setup
...
Setting PATH and environment setup is required in non-interactive shells
2018-10-16 19:54:07 -05:00
Mario Rodas
dff88ee954
bash: do not evaluate completions on dumb terminals
2018-10-14 10:38:48 -05:00
Mario Rodas
b82bc64a0e
bash: do not evaluate /etc/bashrc on non-interactive shells
2018-10-14 10:38:40 -05:00
Daiderd Jordan
9a04aea8ea
tmux: remove reattach-to-user-namespace
...
It's not been needed anymore for a few macOS releases now.
2018-10-12 21:59:41 +02:00
Daiderd Jordan
5a081e09ce
vim: expose programs.vim.package
2018-08-03 20:39:23 +02:00
Daiderd Jordan
6424eb998d
vim: formatting
2018-08-03 20:31:37 +02:00
Kirill Elagin
8e1f40ad48
gnupg: add gpg-agent service
...
Fixes #77 .
2018-05-18 23:19:06 +03:00
Daiderd Jordan
072d2e75ab
zsh: fix nix run shells of nix 2.0
2018-03-27 00:32:31 +02:00
Daiderd Jordan
2b721afd99
ssh: add option to configure known hosts
2018-03-06 20:42:33 +01:00
Daiderd Jordan
02a8d469da
bash: move file
2018-01-20 01:35:42 +01:00
Daiderd Jordan
630ab79197
bash: remove shell wrapper
2018-01-20 01:34:45 +01:00
Daiderd Jordan
abd9a7c2fe
zsh: remove shell wrapper
2018-01-20 01:32:33 +01:00