Timothy Gallion
038630363e
xdg-mime type package options ( #5920 )
...
* xdg-mime: allow overrides to shared-mime-info and desktop-file-utils
The `xdg-mime` module now exposes packages to determine what will be run
for update-mime-database and update-desktop-database. This allows users
to select a different version of these packages if the are incompatible.
This should, in combination with an override to the version of
`shared-mime-info` (can be found here notalltim/home-manager-config#4),
resolve #4955 , #5102 , #4682 , and possibly #4941 . The problem seems to stem
from a mismatch in the version of `shared-mime-info` with the host.
I also switched from using `buildPackages` to `pkgs` to improve
cross-compilation compatibility.
* xdg-mime: Add tests for xdg-mime module
The xdg-mime module was missing tests so I added basic test for all the
options and checked the basic behavior. It covers ensuring that the
proper files/folders are created and that the package overrides work.
2024-10-07 23:39:24 +02:00
Kira Bruneau
271c83e21e
firefox: organize tests by submodule ( #5698 )
...
Split off from #5697 , organizes firefox tests by submodule.
This is intended to match directory structure setup for the new search submodule.
2024-10-07 23:06:52 +02:00
Akshett Rai Jindal
3ac39b2a8b
zathura: Fix the type for config options ( #5934 )
...
* zathura: add float to acceptable types for `options` attrset
The man page states that the `set` directive can take 4 types of values:
INT, FLOAT, STRING, BOOL. But the FLOAT part was missing from the
home-manager module
* zathura: make type of `programs.zathura.options` more readable
Change from cascading mess of `either` to `oneOf`
2024-10-07 15:16:25 +02:00
MithicSpirit
fcf5e608ac
kitty: allow float values in settings ( #5925 )
...
Some settings in kitty allow floating-point values, but this was not
reflected in the type.
2024-10-07 12:18:19 +02:00
dependabot[bot]
bc623830e6
ci: bump cachix/install-nix-action from 27 to 30
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 27 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v27...v30 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 11:44:28 +02:00
Christophe Van den Abbeele
509dbf8d45
megasync: fix issue with service failing to launch
...
Change `After=` setting in the user service to only launch after the
full `graphical-session.target`.
2024-10-04 13:32:07 +02:00
Christina Sørensen
30e04f3d47
pass-secret-service: add GNUPGHOME to service env vars
...
This is nescesarry for non-default locations, and without it, many
programs like element-desktop break in very confusing ways.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-04 09:19:02 +02:00
Sirio Balmelli
437ec62009
borgmatic: note Darwin platform support
...
The current module works on Darwin as-is; mark the platform as
supported.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-10-01 23:11:40 +02:00
K900
ffe2d07e77
direnv: hopefully final nushell fix
2024-09-26 22:52:03 +02:00
Robert Helgesson
0afc2f0f19
river: reduce risk of large rebuilds in test
...
Specifically, overriding the dbus package can cause rebuilds of many
packages.
2024-09-26 22:19:30 +02:00
K900
853e7bd24f
direnv: even better nushell fix
...
Avoid do | complete, because it swallows stderr, which can contain
direnv debug output.
2024-09-26 22:03:30 +02:00
K900
57e6b30d18
direnv: work around nushell bug
...
try/catch in a pipeline does not always work correctly in 0.98,
so avoid the try-catch entirely.
Upstream issue: https://github.com/nushell/nushell/issues/13868
2024-09-26 19:07:37 +02:00
home-manager-bot
c124568e10
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e?narHash=sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK%2BWk%3D' (2024-09-19)
→ 'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6?narHash=sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c%3D' (2024-09-21)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 12:20:17 +02:00
K900
1e22ef1518
direnv: update for new nushell behavior ( #5880 )
...
Nushell 0.98 makes it so external commands returning non-zero
is considered an exception[0]. Wrap the direnv invocation in a
try-catch, so that even if direnv fails, we get the message
from direnv, but not the traceback from nushell.
[0]: https://www.nushell.sh/blog/2024-09-17-nushell_0_98_0.html#non-zero-exit-codes-are-now-errors-toc
2024-09-25 00:39:06 -06:00
Robert Helgesson
21c021862f
ci: disable the tests for macos
...
They have been broken for a long time now and makes the PR flow quite
cumbersome. Thus we disable them until somebody is able to get them to
work again.
2024-09-23 19:15:45 +02:00
home-manager-bot
04213d1ce4
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172?narHash=sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c%3D' (2024-09-16)
→ 'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e?narHash=sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK%2BWk%3D' (2024-09-19)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-22 08:17:35 +02:00
Patrick Nuckolls
14929f7089
zoxide: clarify options
option
...
The value of the option `programs.zoxide.options` is passed to `zoxide
init` at shell initialization time, not to the command itself when
it's called by the user from their shell. This change makes that a
little bit clearer in the documentation.
2024-09-21 09:13:43 +02:00
Ben Brown
51e1d69f7a
poweralertd: fix regression
...
This fixes a regression introduced in
8d7e352a4b
. That commit made the false
assumption that utils would have propagated from Nixpkgs to Home
Manager. This commit copies in `escapeSystemdExecArgs` to fix the
immediate issue, perhaps we can pull this in some other way later down
the line.
2024-09-21 09:08:48 +02:00
bhougland18
dfe4d334b1
wezterm: fix generated configuration
...
The semi-colon breaks this config file, it is not in the Weztem
documentation either.
2024-09-20 22:15:45 +02:00
Robert Helgesson
0b052dd811
swayidle: minor cleanups
2024-09-20 11:45:46 +02:00
leoTlr
4803bf558b
swayidle: make -w optional
...
The option -w causes swayidle to wait on timeouts/events to finish.
This can cause problems with certain timout/event commands (see
https://github.com/swaywm/swaylock/issues/86#issuecomment-662702180 )
2024-09-20 11:13:54 +02:00
Ben Brown
8d7e352a4b
poweralertd: Enable passing CLI args to the daemon
2024-09-20 09:44:52 +02:00
dependabot[bot]
6b1912380e
ci: bump DeterminateSystems/update-flake-lock from 23 to 24
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 23 to 24.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v23...v24 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 09:43:17 +02:00
mgdbbrt
f48b181f01
ssh-agent: use POSIX conforming if condition
2024-09-20 09:38:42 +02:00
alejandro-angulo
ecaed80b18
kitty: remove IFD
...
With this change the theme check happens at activation time. An
integration test is also added to verify the functionality.
Fixes #5110
2024-09-20 09:02:48 +02:00
iniw
2cf3abce03
neovim: use home.shellAliases
...
Instead of manually adding it as an alias for each and every
individual shell, which inevitably ends up missing some.
2024-09-20 08:47:23 +02:00
Robert Helgesson
1786e2afdb
firefox: fix incorrect condition
...
This error was introduced by me when switching from use of an explicit
`if` expression to `optionalAttrs`.
2024-09-20 00:35:54 +02:00
yuanwang
b5e09b85f2
firefox: only add Version = 2 on non-darwin
...
The `Version` field in `profiles.ini` does not seem to work on Darwin
systems.
Co-authored-by: bricked <git@bricked.dev>
2024-09-19 19:57:38 +02:00
Mike Thai
1f7b8188a9
zoxide: replace outdated flag in "options" example
...
The "--no-aliases" option hasn't been a valid init option since 0.8.1,
when it was renamed to "--no-cmd".
2024-09-19 18:43:19 +02:00
bricked
87c7d4df16
firefox: fix policies availability
2024-09-19 18:22:39 +02:00
Coutinho de Souza
451606f4a8
polybar: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:19:27 +02:00
Coutinho de Souza
480d589cdd
opensnitch-client: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:18:59 +02:00
Coutinho de Souza
7540dcc789
opensnitch-ui: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:18:36 +02:00
Coutinho de Souza
dcc1a9e659
nextcloud-client: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:18:08 +02:00
Coutinho de Souza
06c6695c8c
grobi: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:17:44 +02:00
Coutinho de Souza
3670a03586
hound: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:17:05 +02:00
Coutinho de Souza
cacf2d27f6
kbfs: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:16:40 +02:00
Coutinho de Souza
397750d269
xsettings: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:15:43 +02:00
Coutinho de Souza
336c792b19
rsibreak: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:15:20 +02:00
Coutinho de Souza
80092fae03
mpd: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:14:54 +02:00
Coutinho de Souza
10fd27c291
kdeconnect: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:14:28 +02:00
Coutinho de Souza
ffc3a473e6
xembed-sni-proxy: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:13:59 +02:00
Coutinho de Souza
1d8296c46f
flameshot: fix type of systemd Service.Environment
...
See #5854
2024-09-19 18:13:03 +02:00
Coutinho de Souza
b6204ff489
xscreensaver: fix type of systemd Service.Environment
2024-09-19 18:08:54 +02:00
home-manager-bot
7578176649
flake.lock: Update
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4f807e8940284ad7925ebd0a0993d2a1791acb2f?narHash=sha256-IiA3jfbR7K/B5%2B9byVi9BZGWTD4VSbWe8VLpp9B/iYk%3D' (2024-09-11)
→ 'github:NixOS/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172?narHash=sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c%3D' (2024-09-16)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 13:31:52 +02:00
Robert Helgesson
d2493de5cd
ci: remove 23.11 from dependabot
2024-09-18 00:14:15 +02:00
Matthew_Cash
4974dfb26e
thunderbird: change settings type to json
...
Uses the JSON type, just like the Firefox module, so that nested sets
can be used.
2024-09-18 00:12:16 +02:00
bricked
4a4a8b1454
firefox: fix languagepacks policy
2024-09-17 19:20:22 +02:00
Andrew Marshall
a9c9cc6e50
sway: do not use pkgs.sway
when cfg.package = null
...
- Implicitly disable checkConfig when `cfg.package = null` as we don’t
have any exe to use for the check
- Implicitly disable `swaymsg reload` on activation, since we have no
exe to use for running it
See https://github.com/nix-community/home-manager/issues/5307
2024-09-16 00:56:20 +02:00
Andrew Marshall
76bf779881
sway: un-extract single-use variable
2024-09-16 00:51:30 +02:00