1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 04:39:44 +01:00
Commit graph

618 commits

Author SHA1 Message Date
midchildan
8d5e27b480
nix: add a declarative alternative to Nix channels (#4031)
* nix: add options 'nixPath' and 'keepOldNixPath'

By default, the system value for $NIX_PATH is kept as a fallback.
To completely override the system value for $NIX_PATH:

    nix.keepOldNixPath = false;

* nix: add more tests

* nix: add a declarative alternative to Nix channels

This adds a new option, 'nix.channels'. It's the Nix channels equivalent
of the 'nix.registry' option, and compatible with pre-Flake Nix tooling
including nix-env and nix-shell. Like 'nix.registry', this option is
useful for pinning Nix channels.

Channels defined in the new option can coexist with channels introduced
through the nix-channel command. If the same channel exists in both, the
one from Home Manager will be prioritized.

* nix: add news entry

* nix: make channels respect use-xdg-base-directories

* nix: remove 'with lib;'

---------

Co-authored-by: Michael Hoang <enzime@users.noreply.github.com>
2024-06-13 01:47:38 +00:00
Robert Helgesson
548ba194d0
home-manager: prepare release 24.05 2024-05-25 22:13:25 +02:00
Robert Helgesson
25dedb0d52
version: allow 24.11 as state version 2024-05-23 09:07:00 +02:00
Akiyoshi Suda
5514ed3210
yambar: add module 2024-05-10 23:29:58 +02:00
ilkecan
f2c5ba5e72
fontconfig: add defaultFonts.* options 2024-05-10 18:48:17 +02:00
Austin Horstman
223743313b
hyprpaper: add module 2024-05-10 15:35:59 +02:00
Austin Horstman
c6ddd80fb1
hyprlock: add module 2024-05-10 14:08:21 +02:00
afresquet
f61917cbaa
fastfetch: add module
PR #5363
2024-05-10 12:42:39 +02:00
Tad Fisher
6ebe7be2e6
gnome-shell: add module 2024-05-06 09:44:34 +02:00
Austin Horstman
fdaaf543ba
hypridle: add module 2024-05-05 11:13:18 +02:00
Kaleo
6d3b6dc922
conky: add module 2024-05-01 00:11:15 +02:00
Vonixxx
3c0df2a7e4
freetube: add module 2024-04-30 23:34:12 +02:00
Yomi Ikuru
5632659886
swaync: add module
Co-authored-by: Ryan Horiguchi <rhoriguchi@users.noreply.github.com>
2024-04-30 00:16:28 +02:00
Jan Schmitz
d1980931de
psd: add module
PR #5349
2024-04-28 22:39:08 +02:00
Gabriel Fontes
c1609d584a
xdg-portal: improve description of enable option
Specifically, add note about useUserPackages and pathsToLink. As
suggested in
<https://github.com/nix-community/home-manager/pull/5158#issuecomment-2012171515>.
2024-04-27 09:40:03 +02:00
nat
e866aae5bb
amberol: add module
Amberol is a small and simple music player.
2024-04-22 20:06:31 +02:00
paki23
e2e7ea9b8f
kconfig: fix missing quoting 2024-04-22 17:21:19 +02:00
Mirko Lenz
670d9ecc3e
poetry: add module 2024-04-21 22:53:14 +02:00
JulianFP
ad83c154bd
qt: fix qt.platformTheme = "gtk3" 2024-04-21 15:53:39 +02:00
JulianFP
147b5a5e1c
qt: fix platform theme package install 2024-04-21 15:53:39 +02:00
Pasquale
6a171bfd84
kconfig: add module 2024-04-19 17:36:11 +02:00
Cynthia Fox
1f305c363e
remmina: add module
Adds a module to enable managing Remmina, an RDP client, with a Home
Manager module, providing a systemd service and mimetype integration
that can be disabled if so desired.
2024-04-19 17:16:42 +02:00
diniamo
b62cad68b7
spotify-player: add module 2024-04-19 12:39:30 +02:00
Henri Sota
8ff7bb3f4d
tofi: add module 2024-04-19 11:32:49 +02:00
uncenter
ffc3600f40
fd: add module 2024-04-19 00:31:16 +02:00
tschai-yim
54e35e0e1c
qt: use warnings API 2024-04-18 23:29:12 +02:00
Tschai
be2b17615c
qt: fix adwaita decorations link
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2024-04-18 23:25:50 +02:00
tschai-yim
b31019d64f
qt: add adwaita platform theme
Fixes #4702 and https://github.com/NixOS/nixpkgs/issues/295345.
2024-04-18 23:25:50 +02:00
Jack W
b00d0e4fe9
bun: add module 2024-04-09 20:48:15 +02:00
Gabriel Fontes
1c2acec999
xdg-portal: align with NixOS module
Nixpkgs has recently made a few major changes to its
xdg-desktop-portal package, which silently breaks our module here:

- The NIXOS_XDG_DESKTOP_PORTAL_CONFIG_DIR variable patch has been
  removed (in favor of putting portal configurations in /etc or
  XDG_CONFIG_HOME).

- A new variable, NIX_XDG_DESKTOP_PORTAL_DIR, was introduced in a
  patch to avoid setting XDG_DESKTOP_PORTAL_DIR (which also affected
  portal configuration reading, not only portal definitions)

I updated our module to match the changes, but this breakage also made
me revisit this module and look into some improvements.

Long story short, I think it's worth it to make it more similar to the
NixOS one, as it will make behavior more predictable and consistent.
The main change is relying on the upstream linked systemd
unit (instead of using systemd.user.services), and setting the
environment variables globally instead of scoping it to the unit, as
it's a very global thing anyway.
2024-03-20 23:41:55 +01:00
Gabriel Arazas
029545350c
activitywatch: add module 2024-03-15 09:39:56 +01:00
Bruno BELANYI
1ab3cec3a1
rbw: simplify 'pinentry' type
Following some upstream changes [1], it's now possible to use a simplified
package type for the option.

[1]: https://github.com/NixOS/nixpkgs/pull/133542
2024-03-14 08:29:43 +01:00
Bruno BELANYI
01e4a5143e
gpg-agent: migrate to 'pinentryPackage'
This follows upstream's module change [1], which allows setting any
package as a pinentry program.

[1]: https://github.com/NixOS/nixpkgs/pull/133542
2024-03-14 08:22:26 +01:00
zorrobert
383296ffa4
joplin-desktop: add module
PR #5020
2024-03-13 14:28:30 +01:00
Filip Pobořil
bfc438e9b7
ranger: add module 2024-03-08 23:35:34 +01:00
Silmar
b550d074fb
zk: add module 2024-03-08 23:26:08 +01:00
novenary
1283bf6ebb xdg-user-dirs: check for existing symlink
When a non-directory, such as a file or a dead symlink, already exists,
mkdir -p fails with "cannot create directory ‘...’: File exists".

This is a problem when, for example, a symlink points to a directory on
a filesystem that isn't mounted yet.
2024-03-07 17:29:26 +02:00
Gaetan Lepage
3dda8e795f
river: add module 2024-02-22 00:10:51 +01:00
GenericNerdyUsername
f99eace7c1
jetbrains-remote: add module 2024-02-06 00:29:23 +01:00
NotAShelf
7b4ea8d82f
arrpc: add module 2024-02-05 23:36:51 +01:00
Ramses
880d9bc211
nix: fix generation of nix.conf for nix >= 2.20 2024-02-03 11:14:20 +01:00
Kylie McClain
4d53427bce
xfconf: fix config loading
The `run` function export was removed in #4965. This broke the
expectation in this module that `run` would be available outside of
main activation script, as `$DRY_RUN_CMD` once was.

Fixes #4980
2024-02-01 15:34:01 +01:00
Sefa Eyeoglu
ebba24a6fe
wob: add module
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-01-28 10:46:09 +01:00
Robert Helgesson
e84811035d
treewide: deprecate VERBOSE_ECHO
The shell function `verboseEcho` can be used in its stead.
2024-01-24 13:36:05 +01:00
Robert Helgesson
4256729006
treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL
As a replacement, this adds the `run` helper function.
2024-01-24 13:36:05 +01:00
Nikita Pedorich
928f2528f9
mise: add module
This adds the support for the mise program, the successor of rtx. This
commit therefore also removes the rtx module.
2024-01-21 08:51:14 +01:00
Robert Helgesson
f2942f3385
Remove some formatting exceptions
This formats a few more file using nixfmt.
2024-01-13 19:05:27 +01:00
Robert Helgesson
7403ed4980
home-manager: internalize uninstall
This adds a Boolean option `uninstall`. When enabled this option will
reset side-effecting configurations to their "empty" state. The intent
is that this will cause the activation script to remove all managed
files and packages.

Doing it this way should hopefully be more robust than the previous
solution. It also allows a somewhat more convenient uninstall process
when using Flakes; put `uninstall = true` in your existing
configuration and then do a switch.

Also add simple uninstall test in CI test job.
2024-01-13 00:32:31 +01:00
Gabriel Fontes
fcbc70a7ee
xdg-portal: add new module 2024-01-03 20:51:54 +01:00
~noodlez1232
6e91c5df19
i3blocks: added configuration module 2024-01-01 10:15:19 +01:00