Commit Graph

1320 Commits

Author SHA1 Message Date
David McFarland
403604ca66 resolvconf: use correct output files when used with dnsmasq 2024-10-17 14:20:57 -03:00
rnhmjoj
52e2e7027d
dhcpcd: fix race between namespace setup and resolvconf
systemd requires paths in `ReadWritePaths=` to exist before setting up
the service sandbox, so dhcpcd should be ordered after resolvconf.
Making resolvconf a oneshot service ensure `After=resolvconf.service`
works correctly.
2024-10-14 08:02:46 +02:00
github-actions[bot]
e9c8665026
Merge master into staging-next 2024-10-05 00:14:01 +00:00
jade
f0ce0e71c3
Remove the revCount attribute from the generated flake registry (#316225) 2024-10-04 15:25:55 -07:00
github-actions[bot]
192fd67cc3
Merge master into staging-next 2024-10-03 18:04:30 +00:00
Christina Sørensen
c911876981
nixos/terminfo: remove broken package contour
Contour was broken for aarch64 in #253334, and completely broke
in #344788 for all platforms.

This removes the broken package, and adds a notice to remove broken
packages in the future. aarch64 users have waited a year for this to be
fixed, so I think we should lean to be more eager to remove in general,
and then the fix can come when it is ready, instead of letting it block
this.

Resolves: #258515
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-02 05:56:13 +02:00
github-actions[bot]
8e5ca58e0a
Merge master into staging-next 2024-09-29 12:05:05 +00:00
K900
ce7068660a nixos/xdg/icons: add fallbackThemes option 2024-09-29 08:42:20 +03:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Fabián Heredia Montiel
9b2a506736 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:

- pkgs/tools/package-management/nix/default.nix
2024-09-22 13:45:27 -06:00
rnhmjoj
19a494135a
nixos/resolvconf: add a resolvconf group
This group is useful to allow specific users to run resolvconf and
(and this modify /etc/resolv.conf) without root privileges.
2024-09-16 01:22:58 +02:00
Matt Moriarity
768db4009e nixos: remove environment.noXlibs 2024-09-15 07:51:45 -06:00
github-actions[bot]
563bb0fbc2
Merge master into staging-next 2024-09-04 18:04:23 +00:00
éclairevoyant
f6306c0961
treewide: fix eval related to with lib; removal 2024-09-04 12:21:09 -04:00
Jan Tojnar
e9179b4fa3 Merge branch 'master' into staging-next 2024-09-01 19:04:04 +02:00
Étienne Simon
b5574c71be
Fix nested quotes in fontconfig.nix
A sed with nested double quotes is inserting malformed XML into /etc/fonts/fonts.conf, this commit put the sed command into single quotes to properly insert double quotes to enclose the XML attribute.
2024-09-01 15:55:12 +02:00
Jan Tojnar
c2f1fa833e gnome-session: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
github-actions[bot]
1fdf4b61a4
Merge staging-next into staging 2024-09-01 00:16:33 +00:00
Felix Bühler
7f62309646
nixos/fonts.fontconfig: remove with lib; (#338042) 2024-08-31 22:52:12 +02:00
github-actions[bot]
fab50d5f8d
Merge staging-next into staging 2024-08-31 00:13:46 +00:00
github-actions[bot]
dcad9b571a
Merge master into staging-next 2024-08-31 00:13:18 +00:00
Philip Taron
9916dc8728
treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
Felix Buehler
6db0587bdb nixos/sysctl: remove with lib; 2024-08-30 22:58:31 +02:00
Felix Buehler
3ff6eebd21 nixos/shells-environment: remove with lib; 2024-08-30 22:58:31 +02:00
Felix Buehler
0657aa5509 nixos/i18n: remove with lib; 2024-08-30 22:58:31 +02:00
K900
9729387a99 fontconfig: fix properly, remove NixOS module hack
This reverts 49d33d4a6b.
2024-08-30 10:16:01 +03:00
K900
49d33d4a6b [staging-next] nixos/fontconfig: hack to put everyone's fonts back 2024-08-30 08:53:39 +03:00
Philip Taron
117f3ceb51
treewide/nixos: remove with lib; part 1 (#335603) 2024-08-29 15:42:04 -07:00
Felix Buehler
413bd7cb81 nixos/xdg.sounds: remove with lib; 2024-08-29 23:48:10 +02:00
Felix Buehler
352763b440 nixos/xdg.portal.wlr: remove with lib; 2024-08-29 23:48:09 +02:00
Felix Buehler
f3fff00d96 nixos/xdg.portal.lxqt: remove with lib; 2024-08-29 23:48:09 +02:00
Felix Buehler
62782850ea nixos/xdg.mime: remove with lib; 2024-08-29 23:48:09 +02:00
Felix Buehler
56adb6a6b2 nixos/xdg.menus: remove with lib; 2024-08-29 23:48:09 +02:00
Felix Buehler
1da2c43254 nixos/xdg.icons: remove with lib; 2024-08-29 23:48:09 +02:00
Felix Buehler
7f5a38f100 nixos/xdg.autostart: remove with lib; 2024-08-29 23:48:08 +02:00
Felix Buehler
e50a74b6f9 nixos/vte: remove with lib; 2024-08-29 23:48:08 +02:00
Felix Buehler
a39c4671d8 nixos/environment.unix-odbc-drivers.nix: remove with lib; 2024-08-29 23:48:08 +02:00
Felix Buehler
6232911ef5 nixos/environment.terminfo: remove with lib; 2024-08-29 23:48:08 +02:00
Felix Buehler
d666633846 nixos/environment.paths: remove with lib; 2024-08-29 23:48:07 +02:00
Felix Buehler
21d7a61b1a nixos/environment: remove with lib; 2024-08-29 23:45:31 +02:00
Felix Buehler
c39ad44462 nixos/networking.resolvconf: remove with lib; 2024-08-29 23:45:31 +02:00
Felix Buehler
58258bd170 nixos/powerManagement: remove with lib; 2024-08-29 23:45:31 +02:00
Felix Buehler
d65b7dbb29 nixos/system.nss*: remove with lib; 2024-08-29 23:45:31 +02:00
Felix Buehler
87c8da00fa nixos/environment.noXlibs: remove with lib; 2024-08-29 23:45:31 +02:00
Felix Buehler
b5b0edaf37 nixos/networking: remove with lib; 2024-08-29 23:45:30 +02:00
Felix Buehler
dd7e20e16a nixos/environment.memoryAllocator: remove with lib; 2024-08-29 23:45:30 +02:00
Felix Buehler
88e6e9d4ac nixos/time: remove with lib; 2024-08-29 23:45:30 +02:00
Felix Buehler
e514851c46 nixos/networking.iproute2: remove with lib; 2024-08-29 23:45:30 +02:00
Felix Buehler
6b9c5be4a6 nixos/gtk.iconCache: remove with lib; 2024-08-29 23:45:29 +02:00