1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-07 19:15:36 +03:00
Commit graph

514 commits

Author SHA1 Message Date
Peder Bergebakken Sundt
953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
piegames
603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Philip Taron
b6b551fe22
Revert "treewide/nixos: remove with lib; part 12" 2024-12-31 14:04:42 -08:00
Felix Buehler
2e19baf26b nixos/services.xserver.displayManager.xpra: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler
1c0fdc5be0 nixos/services.xserver.displayManager.startx: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler
61ea102715 nixos/services.xserver.displayManager.slim: remove with lib; 2024-12-30 16:57:46 +01:00
Felix Buehler
a439faa883 nixos/services.xserver.displayManager.lightdm: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
4214af11a9 nixos/services.xserver.displayManager.lightdm.greeters.tiny: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
62a2f3303b nixos/services.xserver.displayManager.lightdm.greeters.slick: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
6a56bdff41 nixos/services.xserver.displayManager.lightdm.greeters.pantheon: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
2882d6bc32 nixos/services.xserver.displayManager.lightdm.greeters.mobile: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
f8865e8401 nixos/services.xserver.displayManager.lightdm.greeters.mini: remove with lib; 2024-12-30 16:57:45 +01:00
Felix Buehler
1253a94387 nixos/services.xserver.displayManager.lightdm.greeters.gtk: fmt 2024-12-30 16:57:42 +01:00
Felix Buehler
2b59e102ba nixos/services.xserver.displayManager.lightdm.greeters.gtk: remove with lib; 2024-12-30 16:57:20 +01:00
Felix Buehler
0a91efc713 nixos/services.xserver.displayManager.lightdm.greeters.enso: remove with lib; 2024-12-30 16:57:20 +01:00
nicoo
238b407862
nixos: hardware.pulseaudio → services.pulseaudio (#369391) 2024-12-30 13:46:50 +00:00
Bobby Rong
3c20ab171f
nixos/xfce: Use upstream name for X11 session
This allows keeping the name consistent with the wayland
session we are introducing later.
2024-12-15 20:08:15 +08:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Masum Reza
f4ae47b33e
nixos/gdm: automatically enable services.displayManager (#353848) 2024-11-16 21:40:04 +05:30
Gaetan Lepage
0a785f6f42 nixos/gdm: automatically enable services.displayManager 2024-11-07 00:38:15 +01:00
OPNA2608
d14f6e5986 nixos/lightdm-greeters/lomiri: Enable lomiri.basics option for shared settings 2024-10-30 18:46:10 +01:00
OPNA2608
de4db8a6b0 nixos/lightdm-greeters/lomiri: nixfmt 2024-10-30 18:46:09 +01:00
Jan Tojnar
a110f292a1 gnome-control-center: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
c2f1fa833e gnome-session: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
ca9576c81d gnome-shell: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
b8f3c78021
Merge pull request #333917 from jtojnar/gnome-top-level
gnome: Move more packages to top-level
2024-08-24 01:43:31 +02:00
Jan Tojnar
a0d15e0d04 gdm: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
Atemu
d6150339fc nixos/gdm: refactor file-global with 2024-08-11 09:28:25 +02:00
Thiago Kenji Okada
b6144020d1 nixos/sx: add thiagokokada as maintainer 2024-08-10 19:45:08 +01:00
Thiago Kenji Okada
187a07a96e nixos/sx: add addAsSession option 2024-08-10 19:45:07 +01:00
Thiago Kenji Okada
6a18ff9098 nixos/sx: add package option 2024-08-10 19:45:07 +01:00
Thiago Kenji Okada
b01dbc6e72 nixos/sx: nixpkgs-rfc-style formatting and remove top-level with lib 2024-08-10 19:45:07 +01:00
Dawid Dziurla
097b63d424
nixos/gdm: autologin unlocks keyring when possible 2024-07-23 09:34:19 +02:00
Johannes Jöns
3f7fcbb2f9
Merge pull request #290014 from jopejoe1/ubuntu-font
ubuntu-sans{,-mono}: rename from ubuntu_font_family, 0.83 -> 1.004
2024-07-17 18:46:36 +00:00
Jan Tojnar
af0cdb44a0 nixos/gdm: Fix fingerprint auth rules
We introduced the gdm-fingerprint.pam in 9d41fe6fcc.

We used the [upstream Arch config] as a template, which contains an extended control field that jumps over **one** immediately-following `auth` rule unless `pam_gdm.so` succeeds.

But we decided to not include `pam_gnome_keyring.so` so there was no rule to skip over, resulting in a broken control flow and the PAM module failing with “PAM bad jump in stack”, breaking the fingerprint authentication in GDM.

Let’s actually add `pam_gnome_keyring.so`, like the Arch config does. Because we are creating the PAM file using the `text` option, `security.pam.services.gdm-fingerprint.enableGnomeKeyring` does not do anything so we need to do it manually.

For the case where gnome-keyring is not enabled, we could add a no-op rule like `optional pam_permit.so` after `pam_gdm.so` so that the branching always has something to jump over but it will be simpler to just make the both conditional. There are no further `auth` rules that could benefit from `pam_gdm.so` doing something so it should be fine.

Unlike in Arch, we are not going to invoke `pam_gnome_keyring.so` in a `session` rule since that is already done by the included `login` module.

[upstream Arch config]: 81ee658c11/data/pam-arch/gdm-fingerprint.pam
2024-07-03 23:36:52 +02:00
Jan Tojnar
1cf4155498 nixos/gdm: Clean up gdm-fingerprint pam module
The `optional pam_permit.so` comes from the [upstream Arch config] we used as a template in 9d41fe6fcc. But I do not think it does anything in this position – see also the discussion at https://bbs.archlinux.org/viewtopic.php?id=245892 – so let’s just remove it.

Let’s also add a comment about disabling `fprintAuth` and a blank line for clarity.

[upstream Arch config]: 81ee658c11/data/pam-arch/gdm-fingerprint.pam
2024-07-03 23:32:43 +02:00
Jan Tojnar
e3a06d65ff gnome-themes-extra: Move from gnome scope to top-level
Upstream archived.
2024-07-01 08:26:49 +02:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02:00
Maxine Aubrey
9d41fe6fcc
nixos/gdm: add fingerprint pam rules
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2024-06-22 01:42:50 +05:30
jopejoe1
b3c8c0e481 ubuntu_font_family: replace with ubuntu-classic 2024-06-07 19:53:30 +02:00
Jan Tojnar
2a2796c2bc nixos/xserver: Remove with statements
They masked the evaluation error caused by removal of
`defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Jan Tojnar
8bf5752a3c nixos/xserver: Remove {desktop,window}Manager.default options
These have been deprecated since NixOS 20.03.

Also fixes evaluation error caused by moving
the `defaultSessionFromLegacyOptions` variable
in 6be2bfcc32
2024-05-02 23:20:02 +02:00
Gabriel Volpe
d864c36d57
tree-wide: use mapCartesianProduct 2024-04-15 19:17:53 +02:00
OPNA2608
399d698854 nixos/lightdm-greeters/lomiri: init 2024-04-14 21:38:32 +02:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Sandro Jäckel
0d3ab0d4ec
nixos/sddm: move option from services.xserver.displayManager.sddm to services.displayManager.sddm
Because it is not just X anymore
2024-04-08 21:56:37 +02:00
Sandro Jäckel
6be2bfcc32
nixos/display-managers: extract generic display-manager bits
Some settings which where before inside the xserver module, are generic
and also required for SDDM under wayland. To make them easily re-usable
lets extract them.
2024-04-08 21:56:36 +02:00
Bobby Rong
e96d5c13d0
Merge pull request #140429 from bobby285271/pantheon-systemd
pantheon: manage user session with systemd
2024-03-29 22:55:39 +08:00
K900
95318bd0b8
Merge pull request #290122 from FriedrichAltheide/virtualbox-guest-additions-fixes
virtualbox: guest additions resize & clipboard fixes
2024-03-28 11:42:22 +03:00