Commit graph

1169 commits

Author SHA1 Message Date
Maximilian Bosch
66ab687151
Merge pull request #248131 from Ma27/captive-browser-setcap
nixos/captive-browser: drop setcap wrapper for captive-browser
2023-08-12 14:52:38 +02:00
Ilan Joselevich
2393e099a6
Merge pull request #247008 from fufexan/hyprland
Update hyprwm packages and nixos/hyprland
2023-08-12 14:55:29 +03:00
Maximilian Bosch
183be440fd
nixos/captive-browser: drop setcap wrapper for captive-browser
Since Linux 5.7 it's possible to set `SO_BINDTODEVICE` via `setsockopt(2)`
as unprivileged user if this operation doesn't imply escaping a VRF
interface[1].

Dropping the wrapper is actually desirable because `captive-browser`
itself doesn't drop capabilities and as a result, the capabilities are
passed on to `chromium` itself[2].

For older kernels, this is still necessary, hence the wrapper will only
be added nowadays if the kernel is older than 5.7.

[1] c427bfec18
[2] 08450562e5/bind_device_linux.go (L11-L14)
    and because our setcap wrapper makes all capabilities
    inheritable.
2023-08-10 14:06:38 +02:00
Artturin
ea580ebee8 nixos/fish: Fix completion generator cross-compilation 2023-08-08 23:21:38 +03:00
Mihai Fufezan
50ad802e51
nixos/hyprland: remove xwayland.hidpi 2023-08-08 20:32:53 +03:00
Lin Jian
74fadae942
treewide: stop using types.string
It is an error[1] now.

[1]: https://github.com/NixOS/nixpkgs/pull/247848
2023-08-08 21:31:21 +08:00
Robert Hensing
f8f9f13d57
Merge pull request #246386 from hercules-ci/lib-getExe-dont-make-name-assumption
lib.getExe: Do not make assumptions about the main program
2023-08-02 20:05:52 +02:00
Robert Hensing
d36353cf86 nixos/oddjob: Maybe fix, but mark as broken
Unfortunately there's no test for me to confirm that it works,
so all I can do is ask for maintainers, unfortunately -- I mean...
This is your opportunity!
2023-07-31 21:19:39 +02:00
Yureka
0445837cc7 nixos/fish: fix cross build 2023-07-31 14:10:04 +02:00
Sofi
3273352d05
ns-usbloader: init at 7.0 2023-07-29 19:28:32 +02:00
rewine
d9f707f795 nixos/wayfire: init 2023-07-27 00:04:03 -03:00
Sandro Jäckel
83793ca898
nixos/fonts: rename fonts.enableDefaultFonts to fonts.enableDefaultPackages
to better fit the renamed fonts.packages
2023-07-25 00:55:25 +02:00
Mihai Fufezan
e9f270f1f0
nixos/hyprland: apply config options to package 2023-07-23 01:15:59 +03:00
Soham S Gumaste
162893f92a
nixos/oddjob: init at 0.34.7 2023-07-18 10:48:07 -05:00
Florian Klink
ca1dd491c6 nixos/firefox: stop reading nixpkgs.config.firefox.enableEUWebID
This can cause firefox to be overridden with nativeMessagingHosts
pointing to web-eid-app twice, causing a conflict during build.
2023-07-18 11:48:17 +03:00
Sandro
aa90c57672
Merge pull request #240774 from tollb/w20230630c_fix_atop_systemd_units
nixos/atop: Fix regression in enabling atop units
2023-07-17 21:26:21 +02:00
Pol Dellaiera
f3d3147417
Merge pull request #241528 from Gerg-L/nixos/direnvrc
nixos/direnv: init
2023-07-12 16:42:40 +02:00
Gerg-L
194a3a7d97 nixos/direnv: init 2023-07-12 08:48:17 -04:00
Bruce Toll
8f4f1ce005 nixos/atop: Fix regression in enabling atop units
Fix regression where the systemd units for atop are no longer
automatically started at boot when programs.atop.enable = true.

Regression was introduced in commit: 09350ff7d4
  nixos/atop: Convert log format to fix service start

This commit restructures the atop systemd service config so that the
code to convert the log format gets configured as a preStart script
along with the addition of the wantedBy rule.
2023-07-08 07:29:22 -04:00
adisbladis
f2b2e6d098
Merge pull request #240246 from adisbladis/xonsh-envs
xonsh: Add wrapper
2023-07-08 14:26:43 +12:00
David McFarland
d19ab9f1da nixos/gnupg: fix pinentryFlavor documentation and add release note 2023-06-30 10:22:38 -03:00
David McFarland
3d4f3068fd nixos/gnupg: fix gpg-agent when pinentryFlavor is null
8ea644997f moved the configuration outside
the pinentryFlavor check, causing evaluation to fail when it was set to
null.

960a5142aa removed the upstream systemd
units, causing gpg-agent.service to be conditional on pinentryFlavor.
2023-06-30 08:04:16 -03:00
adisbladis
0fab94a844 xonsh: Add wrapper
It is currently not obvious how to install/use xonsh with dependencies and python packages.

This PR implements a wrapper that allows you to construct a custom xonsh environment by using:
``` nix
xonsh.override { extraPackages = ps: [ ps.requests ]; }
```
2023-06-30 19:39:53 +12:00
Aaron Andersen
7362e078cb
Merge pull request #208363 from GeorgesAlkhouri/refactor/nixos-modules-shadow
nixos/shadow: refactor login.defs config options
2023-06-27 11:49:15 -04:00
Ivan Malison
cd3b658167
starship: Remove INSIDE_EMACS checks (#239039)
Many of the terminals supported inside emacs work perfectly fine with STARSHIP.
The TERM=dumb case already handles the tramp and eterm cases, so as far as I can
tell, this is basically just a check for the benefit of OLD versions of
term-mode (see
https://www.emacswiki.org/emacs/AnsiTerm#:~:text=Historically%2C%20'M%2Dx%20ansi%2Dterm,the%20older%20'C%2Dc'%20binding.,
which indicates that it also now handles colors)
2023-06-26 20:37:10 +02:00
Michele Guerini Rocco
547cd96f10
Merge pull request #231108 from corngood/gpg-agent
nixos/gnupg: add systemd configuration
2023-06-26 16:22:41 +02:00
David McFarland
8ea644997f nixos/gpg-agent: move pinentry-program to /etc/gnupg/gpg-agent.conf 2023-06-16 08:24:52 -03:00
David McFarland
960a5142aa nixos/gnupg: add systemd configuration
This depended on the systemd user configuration provided upstream in
doc/examples.  However, this was all removed in:

eae28f1bd4
2023-06-16 08:21:47 -03:00
Maciej Krüger
95c729c030
Merge pull request #223952 from m-bdf/fix-cfs-zen-tweaks
Fix cfs-zen-tweaks
2023-06-15 21:56:00 +02:00
Jörg Thalheim
5ac7371bd1 nixos/nix-ld: use mkPackageOptionMD 2023-06-15 09:47:26 +02:00
Jörg Thalheim
b60f21e135 nixos/nix-ld: also include ld.so in nixos profile 2023-06-15 09:47:25 +02:00
Pol Dellaiera
43b346ea1e
Merge pull request #220481 from uoleg/master
nixos/nano: refactor nanorc creation
2023-06-06 21:35:26 +02:00
Thiago Kenji Okada
99d37f54f0 nixos/sway: fix package option documentation 2023-06-01 19:40:02 +00:00
Gaetan Lepage
d93dc82ee9 nixos/river: fix display manager error 2023-05-29 22:41:48 +02:00
Gaetan Lepage
8f421acbc5 nixos/river: init module 2023-05-25 00:05:23 +02:00
Gaetan Lepage
c7bd5289d6 nixos/programs: factor out wayland-session common options 2023-05-25 00:04:22 +02:00
Georges
c7695805ca
nixos/shadow: refactor login.defs config options
Add a settings option for the login.defs file
to provide enhanced configuration abilities.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-20 13:34:41 +02:00
figsoda
701bcdbead nixos: fix typos 2023-05-19 22:31:04 -04:00
Weijia Wang
e70a5fac10
Merge pull request #231744 from wineee/pinentryFlavor
nixos/gnupg: default to qt pinentry program in deepin
2023-05-20 03:04:49 +03:00
figsoda
783ebc7682
Merge pull request #231707 from figsoda/trip 2023-05-15 09:13:59 -04:00
figsoda
3aa6580f46 nixos/trippy: init 2023-05-14 10:05:29 -04:00
linsui
c3a2ce47a1 nixos/neovim: fix runtime.text 2023-05-13 23:41:50 +02:00
rewine
71d6ed698f
nixos/gnupg: default to qt pinentry program in deepin 2023-05-14 05:32:38 +08:00
figsoda
282e5e03a8 nixos/sniffnet: init 2023-05-09 15:53:34 -04:00
Martin Weinelt
a3c7dcd88d
nixos/shadow: Set default encrypt method
Fixes the default for tools like chpasswd, chgpasswd and gpasswd.

Closes: #230880
2023-05-09 17:05:34 +02:00
Sandro
443a8f398a
Merge pull request #230756 from NixOS/fzf-fix 2023-05-09 11:54:38 +02:00
Sandro Jäckel
edf57fef9b
nixos/fzf: fix evaluation if ohMyZsh is enabled 2023-05-08 21:10:28 +02:00
Nick Cao
aa7197b091
Merge pull request #230539 from OPNA2608/update/miriway
miriway: unstable-2023-03-17 -> unstable-2023-04-25
2023-05-08 20:27:47 +08:00
Ilan Joselevich
6a751fe806
Merge pull request #227765 from zhaofengli/darling
darling: init at unstable-2023-05-02
2023-05-07 22:29:02 +03:00
OPNA2608
fc3c5947a9 nixos/miriway: Adjust default and example config
The keybinds for the WM's internal commands have been made configurable.
2023-05-07 17:32:20 +02:00