1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 13:57:31 +02:00
Commit graph

3245 commits

Author SHA1 Message Date
Philipp Kühn
0d9be30cfb
borgmatic: preparing upcoming borgmatic change
This commit changes the config format of repositories to the
soon-be-expected `{ "path": "repository-path", }`. The Home Manager
configuration allows a simple string (which will get translated), the
new format by directly using the path attribute, and the one with the
optional label attribute. More information about the background can be
found here https://torsion.org/borgmatic/docs/reference/configuration/
2024-04-10 21:26:33 +02:00
Li Yang
990fc60aaf
k9s: add hotkey option (#4617)
* k9s: add hotkey option

This PR adds an option to customise k9s hotkeys.
The keyword `hotKey` must be in camel case on the user config.

* Update modules/programs/k9s.nix

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

* fix formatting

---------

Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-04-10 21:26:33 +02:00
Nova Leary
5b0be3512d
zsh: made ZDOTDIR export to the shell (#4619) 2024-04-10 21:26:32 +02:00
tristan
d528eaf288
services.swayidle: change target to generic session (#3913)
this makes the default setup support other window-managers, and is the
trend followed by waybar, clipman, copyq, wlsunset.
2024-04-10 21:26:32 +02:00
NAHO
87c2ff0a36
wezterm: remove automatic config reload call
Closes: #4426
2024-04-10 21:26:32 +02:00
Knut Magnus Aasrud
1947c9901c
aerc: fix config paths on darwin
When xdg.enable is set, aerc uses the $XDG_CONFIG_HOME variable instead
of the default $HOME/Library/Preferences. home-manager needs to check
this to make sure aerc can find the proper file in both cases.
2024-04-10 21:26:32 +02:00
André Silva
f572930b5a
hyprland: add tray.target 2024-04-10 21:26:31 +02:00
Martin Schwaighofer
3b72c311ac
helix: add extraPackages option
Closes #2923 based on how arnarg solves this in his personal config.
With review suggestions from musjj.

Co-authored-by: Arnar Gauti Ingason <arnarg@fastmail.com>
Co-authored-by: musjj <72612857+musjj@users.noreply.github.com>
2024-04-10 21:26:31 +02:00
Naïm Favier
c0cfd32bf0
sxhkd: set scope OOMPolicy to continue
When a process inside the sxhkd scope is OOM killed, if the OOM policy
is set to `stop` then the sxhkd scope itself will exit, terminating
every process launched from the keyboard.

This is undesirable, set it to `continue` instead to keep other
processes running.
2024-04-10 21:26:31 +02:00
Luna Simons
6da70f2252
cava: add module 2024-04-10 21:26:31 +02:00
Silvio Ankermann
17ead612c6
cbatticon: Add support for batteryId
For devices with more than one battery, cbatticon allows to set the
battery ID as optional positional argument. If this argument is not
given, it default to the first battery it would list with `cbatticon
-p`. This commit adds support for the batteryId option to the cbatticon
module.
2024-04-10 21:26:31 +02:00
Benjamin Lee
f833d2a354
aerc: fix config paths on darwin 2024-04-10 21:26:30 +02:00
NAHO
d75040ae41
readme: major cleanup
Includes the following changes:

- Remove unused reference definition.

- Sort reference definitions.

- Internally reference "Words of warning" section.

- Consistently reference.

- Fix typo.

- Format HTML code.

- Link only to first occurence per section.

- Simplify list formatting.

- Adapt 'Installation' section to manual.

- Fix punctuation.

- Wrap text at 80 characters.

- Simplify link phrasing.

- Add missing punctuation.

PR #4363
2024-04-10 21:26:30 +02:00
Haras
76e58a3a92
exa: add aliases to nushell 2024-04-10 21:26:30 +02:00
Robert Helgesson
1807ce921e
docs: fix option name
Fixes #4589
2024-04-10 21:26:30 +02:00
SrGesus
e6f3da6be1
Translate using Weblate (Portuguese)
Currently translated at 100.0% (18 of 18 strings)

Translate using Weblate (Portuguese)

Currently translated at 88.5% (31 of 35 strings)

Co-authored-by: SrGesus <gabriel.fcf04@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/pt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/pt/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:26:29 +02:00
Yogurt
eff1c9d1e4
Translate using Weblate (Lithuanian)
Currently translated at 66.6% (12 of 18 strings)

Translate using Weblate (Lithuanian)

Currently translated at 88.5% (31 of 35 strings)

Co-authored-by: Yogurt <donatas.karta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/lt/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/lt/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:26:29 +02:00
Emre Çebi
c88a753a5e
Translate using Weblate (Turkish)
Currently translated at 88.8% (16 of 18 strings)

Translate using Weblate (Turkish)

Currently translated at 94.2% (33 of 35 strings)

Co-authored-by: Emre Çebi <emrecebi03@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/tr/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/tr/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:26:29 +02:00
sisyphushappy
872242a275
qutebrowser: add greasemonkey userscript option
Co-authored-by: Ivar Scholten <ivar.scholten@protonmail.com>
2024-04-10 21:26:29 +02:00
home-manager-bot
7d9e618277
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5e4c2ada4fcd54b99d56d7bd62f384511a7e2593' (2023-10-11)
  → 'github:NixOS/nixpkgs/ca012a02bf8327be9e488546faecae5e05d7d749' (2023-10-16)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:26:29 +02:00
r-vdp
f1ca52127d
fzf: add mkOrder for fish like we do for other shells 2024-04-10 21:26:28 +02:00
r-vdp
c1f8ffca76
fzf: fix fish integration
Since fzf 0.43.0, the fzf_key_bindings function is only defined when
fish is running interactively, see [1].
This caused errors when entering non-interactive fish shells since we
called fzf_key_bindings during startup.

[1]: 7e89458a3b
2024-04-10 21:26:28 +02:00
Gabriel Arazas
599ae76b5f
recoll: update option descriptions 2024-04-10 21:26:28 +02:00
Gabe Dunn
2ca2163ece
thefuck: add instant mode option
Also do a slight code cleanup.
2024-04-10 21:26:28 +02:00
home-manager-bot
7956a96b06
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f99e5f03cc0aa231ab5950a15ed02afec45ed51a' (2023-10-09)
  → 'github:NixOS/nixpkgs/5e4c2ada4fcd54b99d56d7bd62f384511a7e2593' (2023-10-11)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:26:27 +02:00
sefidel
a37f3001d4
im/fcitx5: fix missing plugins on Qt6 (#4468)
This commit fixes fcitx5 not working on Qt6 due to missing plugins, by
adding them to QT_PLUGIN_PATH.
2024-04-10 21:26:27 +02:00
Xavier Lambein
37b513dd7d
darkman: add module
Co-authored-by: Naïm Favier <n@monade.li>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2024-04-10 21:26:27 +02:00
Daniel Poelzleithner
fd7c503cee
home-manager: add .editorconfig
Sets the basic editor settings to Home Manager style guide.
2024-04-10 21:26:27 +02:00
Artturin
8872c10da5
docs: add stateVersion to the NixOS/nix-darwin example
This is necessary, without this a new user gets

```
error: The option `home-manager.users.X.home.stateVersion' is used but not defined.
```
2024-04-10 21:26:27 +02:00
Damien Cassou
0e16a9b843
firefox: add test for duplicate profile id assertion 2024-04-10 21:26:26 +02:00
Damien Cassou
132e212203
firefox: extract an overlay common to all tests 2024-04-10 21:26:26 +02:00
Janik
7ad922a956
services.cliphist: add module (#4445) 2024-04-10 21:26:26 +02:00
Damien Cassou
27a92b54f3
borgmatic: improve support for version 1.8.0
The configuration file format of borgmatic has changed in version
1.8.0:
https://projects.torsion.org/borgmatic-collective/borgmatic/src/branch/main/NEWS

This commit makes Home Manager generate borgmatic's configuration file
using the new format.

Even though the NEWS file indicates that old configuration files are
compatible, this is not 100% the case: empty sections work fine in old
borgmatic but stop working in new ones. I've reported the bug upstream
by email as I couldn't create an account on the forge.
2024-04-10 21:26:26 +02:00
Kiran Ostrolenk
5d13d826a0
zsh: generalize zsh-history-substring-search
Specifically, allow variable expansion for the key codes by switching
from single to double quotes.

This also adds a helpful suggestion to descriptions. Taken from the
project's README, see

  4abed97b6e/README.md (L71-L74))
2024-04-10 21:26:25 +02:00
github-actions[bot]
ebc04f9b62
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/87828a0e03d1418e848d3dd3f3014a632e4a4f64' (2023-10-06)
  → 'github:NixOS/nixpkgs/f99e5f03cc0aa231ab5950a15ed02afec45ed51a' (2023-10-09)
2024-04-10 21:26:25 +02:00
pacien
fb8a6393ff
password-store-sync: remove module
The module `services.git-sync` (introduced two years after) provides
the same functionality, but in a more general and reliable way.
2024-04-10 21:26:25 +02:00
pacien
ced844c21e
unison: add package option
So that one can use the lighter headless version of Unison.
2024-04-10 21:26:25 +02:00
github-actions[bot]
bac8127ea8
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fdd898f8f79e8d2f99ed2ab6b3751811ef683242' (2023-10-01)
  → 'github:NixOS/nixpkgs/87828a0e03d1418e848d3dd3f3014a632e4a4f64' (2023-10-06)
2024-04-10 21:26:24 +02:00
Gerg-L
915c58a928
flake: fix nixpkgs config
Fixes #2942
2024-04-10 21:26:24 +02:00
a-kenji
5f34ca8c64
fish: query pname and version for completions
Query the `pname` and `version` attributes for completion generation,
if the `name` attribute is not available.

Fixes #2813
2024-04-10 21:26:24 +02:00
Mihai Fufezan
5ca19629fd
hyprland: allow customizing systemd
Allows users to customize which environment variables to import in DBus
and SystemD user environments, and to specify which commands will be run
after the environment activation.
2024-04-10 21:26:24 +02:00
Bernardo Meurer
8a719ddd3c
bat: allow setting themes/syntaxes without IFD
The way the `bat` module is currently written makes it essentially
impossible to use themes and syntaxes without IFD, since you must
provide the contents as string, instead of just giving a path to be
linked.

With this change, setting themes/syntaxes by-string will start issuing
warnings, and a new attribute model is added, lightly inspired by how
`programs.zsh.plugins` avoided this issue.
2024-04-10 21:26:24 +02:00
Simone Ragusa
149a52a414
firefox: set ADD_DATE and LAST_MODIFIED of bookmarks to 1
For some reason, Firefox completely discards the ADD_DATE and
LAST_MODIFIED attributes if they are set to 0. This has been
confirmed by exporting a sample set of bookmarks generated by
Nix using home-manager and comparing it to the same sample of
bookmarks set manually and then exported.

Missing these attributes can cause problems for extensions and
other tools that try to read bookmarks. A known example is the
Tridactyl extension.
2024-04-10 21:26:23 +02:00
Reza Almanda
712d839e76
Translate using Weblate (Indonesian)
Currently translated at 94.4% (17 of 18 strings)

Translate using Weblate (Indonesian)

Currently translated at 68.5% (24 of 35 strings)

Translate using Weblate (Indonesian)

Currently translated at 61.1% (11 of 18 strings)

Translate using Weblate (Indonesian)

Currently translated at 42.8% (15 of 35 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/id/
Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/id/
Translation: Home Manager/Home Manager CLI
Translation: Home Manager/Home Manager Modules
2024-04-10 21:26:23 +02:00
ilaumjd
823f7a6439
thefuck: add module 2024-04-10 21:26:23 +02:00
ilaumjd
8a209007e2
zsh-abbr: add module 2024-04-10 21:26:23 +02:00
github-actions[bot]
d97a443864
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2' (2023-09-27)
  → 'github:NixOS/nixpkgs/fdd898f8f79e8d2f99ed2ab6b3751811ef683242' (2023-10-01)
2024-04-10 21:26:22 +02:00
Robert Helgesson
8ec4dafe89
home-manager: fix assignment to read-only variable
Fixes #4519
2024-04-10 21:26:22 +02:00
home-manager-bot
0dd64eac14
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e35dcc04a3853da485a396bdd332217d0ac9054f' (2023-09-22)
  → 'github:NixOS/nixpkgs/8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2' (2023-09-27)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-10 21:26:22 +02:00
ilaumjd
0e14af6788
scmpuff: enable or disable aliases 2024-04-10 21:26:22 +02:00