| Commit message (Collapse) | Author | Age |
|
|
|
| |
See https://github.com/NixOS/nixpkgs/issues/160740
|
|
|
|
|
|
|
| |
Fixes what seems to be a programming error that went undetected by
me and @pasqui23
See https://github.com/NixOS/nixpkgs/issues/158279
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correct the assertion logic
Fixed indentation
Better wording od allowLoginless' description
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Better formatting
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
allowLoginless -> allowNoPasswordLogin
Clarified users.allowNoPasswordLogin's description
Clarified assertion expression
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Reworded assertion message to gude to safer alternative
|
|\
| |
| | |
nixos/xdg-portals: add portals to systemPackages
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we allocated subuids automatically for all normal users.
Make this explicitly configurable, so that one can use this for system
users too (or explicitly disable for normal users). Also don't allocate
automatically by default if a user already has ranges specified statically.
|
|\ \ \
| | | |
| | | | |
concatTextFile: init
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
treewide: more defaultText for options
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
adds defaultText for all options that set their default to a path expression
using the ubiquitous `cfg` shortcut bindings.
|
|\ \ \
| | | |
| | | | |
nixos: add sgx group with gid 304
|
| |/ /
| | |
| | |
| | | |
fix Unknown group 'sgx', ignoring message from udev
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/NixOS/nixpkgs/issues/144572
https://github.com/NixOS/nixpkgs/issues/91986
nixos/swap: remove expansion if else because the file is already
recreated if file size is not the same as the configured size
nixos/swap: remove old fixme
|
|/ |
|
| |
|
|\
| |
| | |
nixos/fontdir: always link the font directory
|
| |
| |
| |
| |
| | |
This fixes the fonts directory availability when not running an xserver,
such as headless machines.
|
|/ |
|
|\
| |
| |
| | |
In particular, this should unblock the trunk-combined jobset.
|
| |
| |
| |
| | |
The package has been renamed in 2018-05-01.
|
|\ \ |
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
nixos/extra-layouts: avoid all rebuilds
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Just setting the XKB_CONFIG_ROOT should be enough, so we don't need to
rebuild the xserver, xkbcomp and other packages anymore.
However, the variable has to be passed explicitely to scripts running at
build time: in particular to xkbvalidate and xkb-console-keymap.
|
|\ \ \
| |/ /
|/| | |
nixos/xdg/mime: add config for associations between mimetypes and applications
|
| | |
| | |
| | |
| | | |
between mimetypes and applications
|
|\ \ \
| |/ /
|/| | |
Don't default to nogroup for the primary group of users.
|
| | |
| | |
| | |
| | |
| | | |
this is unsafe, as many distinct services may be running as the same
nogroup group.
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
nixos/hidpi: scale X11 core cursor
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Most desktop environments manage the cursor using the Xcursor library
by default; this comes with scalable or multiple-sized cursor themes.
However, when running just a simple WM (twm, bspwm, ...) the cursor
handling is left to the X server, which uses a very simple fixed bitmap
font (this is called a "core" cursor). The font is uncomfortably small
on a high DPI display and must be replaced with a saner default.
Up until recently[1] it used to be possible to change the font on the
xserver command line, however the font name is now hardcoded. It's still
possible to change it, though: here I override the `fontcursormisc`
package and set an alias that points to a vector variant of the original
cursor font. The font size is set to match the standard cursor
dimensions on a 96dpi display. It's not perfect but it's a very simple
and effective solution.
[1]: https://gitlab.freedesktop.org/xorg/xserver/-/commit/56ea4c769c2d65df2de86009e8e499f39a8a3d4d
|
|\ \ \
| | | |
| | | | |
nixos/users: Populate group members option
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change makes it so that accessing config.users.groups.*.members isn't
empty by default, but instead contains all the users whose `extraGroups`
includes that group, allowing fancy things like
{ config, ... }: {
users.groups.libvirt.members = config.users.groups.wheel.members;
}
to add all users in the wheel group to the libvirt group
|
|\ \ \ \
| | | | |
| | | | | |
nixos: reduce pam files rebuilds on updates
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before whenever environment variables changed, pam files had to be
rebuild.
This is expensive since each file needs its own sandbox set up.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Recommend to use services.xserver.dpi option instead. Mention in the
documentation that it's a sledgehammer approach and monitor settings should be
used instead.
Also don't set DPI in fontconfig settings; fontconfig should use Xft settings
by default so let's not override one value in multiple places. For example,
user now can set DPI via ~/.Xresources properly.
|
|/ / /
| | |
| | |
| | | |
This has been synonymous for ~5y.
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
nixos/swap: allow luks discards if swap discards are enabled
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
nixos/swap: add options option
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- The order of NSS (host) modules has been brought in line with upstream
recommendations:
- The `myhostname` module is placed before the `resolve` (optional) and `dns`
entries, but after `file` (to allow overriding via `/etc/hosts` /
`networking.extraHosts`, and prevent ISPs with catchall-DNS resolvers from
hijacking `.localhost` domains)
- The `mymachines` module, which provides hostname resolution for local
containers (registered with `systemd-machined`) is placed to the front, to
make sure its mappings are preferred over other resolvers.
- If systemd-networkd is enabled, the `resolve` module is placed before
`files` and `myhostname`, as it provides the same logic internally, with
caching.
- The `mdns(_minimal)` module has been updated to the new priorities.
If you use your own NSS host modules, make sure to update your priorities
according to these rules:
- NSS modules which should be queried before `resolved` DNS resolution should
use mkBefore.
- NSS modules which should be queried after `resolved`, `files` and
`myhostname`, but before `dns` should use the default priority
- NSS modules which should come after `dns` should use mkAfter.
|