Ramses
76f8cf18d1
nixos/update-users-groups: no need to include extra package
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-09-03 11:26:37 +02:00
r-vdp
d560a5e07d
nixos/update-users-groups: fix cross compilation
...
Since #246772 , cross compiled NixOS is broken because the DateTime perl
package that was used in the update-users-groups.pl script depends on
Testutf8 which does not cross compile (see #198548 ).
This PR drops the DateTime dependency in favour of TimePiece, which has
less dependencies and whose closure does cross compile.
2023-09-03 11:26:37 +02:00
Franz Pletz
da37904672
Merge pull request #246772 from R-VdP/nixos-user-expiry
...
nixos/update-users-groups: add support for account expiry
2023-08-26 02:41:34 +02:00
Nick Cao
0814089e05
nixos/zram: use nixos/zram-generator as backing implementation
2023-08-13 15:38:40 +08:00
Franz Pletz
cef068f3b3
Revert "nixos/malloc: add back maybe unnecessary line"
...
This reverts commit ed55524562
.
Does not evaluate.
2023-08-10 03:02:39 +02:00
Lily Foster
b367b9cf87
Merge pull request #241565 from SuperSandro2000/nox-python
...
nixos/no-x-libs: use pythonPackagesExtensions to construct python ove…
2023-08-07 10:56:27 -04:00
r-vdp
44a7059bf2
nixos/update-users-groups: set expiry correctly for new users
2023-08-02 13:51:41 +02:00
Sandro Jäckel
0d4c3913b2
nixos/no-x-libs: use pythonPackagesExtensions to construct python overlay
...
to construct it for all supported python package sets at the same time
2023-08-01 15:36:15 +02:00
Gabriel Fontes
ff8b69941a
nixos/qt: install qt6gtk2 when using gtk2
...
Now qt6 apps are correctly themed when using platformTheme gtk2.
2023-07-27 15:39:30 -03:00
Sandro Jäckel
4c07356e3d
nixos/packages: fix typo preventing mkRenamedOptionModule from working
2023-07-25 14:43:40 +02:00
Robert Hensing
c9f9df2f8e
Merge pull request #245038 from R-VdP/fix_nix_channel
...
nixos/nix-channel: only try to remove the nix-channel binary if it exists
2023-07-25 11:25:15 +02: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
Sandro Jäckel
f9fdeb2dbc
nixos/ghostscript: evaporate the extra whitespace
2023-07-24 17:34:39 +02:00
Sandro Jäckel
b0c67b4b6e
treewide: rename fonts.fonts to fonts.packages
2023-07-24 17:34:39 +02:00
Sandro Jäckel
5162df3239
nixos/fonts: rename fonts.fonts option to fonts.packages, other cleanups
...
fonts.fonts is not a great name and this also resolves a TODO.
2023-07-24 17:34:37 +02:00
r-vdp
b825f65c90
nixos/nix-channel: only try to remove the nix-channel binary if it exists
...
It may not be there if `system.disableInstallerTools = true`.
2023-07-24 10:34:48 +02:00
r-vdp
668e2dafb6
nixos/nix-channel: fix editorconfig warnings and apply nixpkgs-fmt
2023-07-23 15:39:32 +02:00
Robert Hensing
8ad59ed1b2
Merge pull request #242098 from hercules-ci/nixos-no-nix-channel
...
nixos: Disable nix-channel
2023-07-18 15:27:24 +02:00
github-actions[bot]
a3b43106c9
Merge master into staging-next
2023-07-13 18:01:24 +00:00
Bjørn Forsman
df1eee2aa6
nixos: show which files are related to "not applying GID/UID change"
...
I initially thought it was related to /var/lib/nixos/{gid-map,uid-map},
but it seems that to migrate GID/UID you have to edit
/etc/{group,passwd} (and update GID/UID in all files). So mention those
files in the warning messages.
2023-07-13 17:21:36 +02:00
Ramses
1bee79f9f7
nixos/swap: make sure all kernel modules are loaded before creating swap devices. ( #239163 )
...
Co-authored-by: iliana etaoin <iliana@buttslol.net>
2023-07-13 17:12:54 +02:00
Robert Hensing
a1d0ee8c50
nixos/nix-channel: Apply suggestions from code review
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-08 20:49:37 +02:00
github-actions[bot]
e949ec41bd
Merge master into staging-next
2023-07-08 18:01:04 +00:00
Joerie de Gram
1785fe6c01
nixos/i18n: correct defaultText for supportedLocales
2023-07-08 16:43:22 +02:00
Robert Hensing
61afc4d166
nixos/nix-channel: Take care of NIX_PATH's non-empty default when disabled
2023-07-07 23:12:39 +02:00
Robert Hensing
d00e242b80
nixos: Add nixos.channel.enable
...
For those who wish to get rid of nix-channel.
2023-07-07 19:00:06 +02:00
github-actions[bot]
da44aac0b1
Merge master into staging-next
2023-07-07 12:01:26 +00:00
Sandro Jäckel
88d7aa56e1
nixos/nix*: remove not necessary imports
...
We do not really declare module dependencies anywhere else and it would
a nousance to move any file if many other referenced it without being
necessary. Also most higher level modules depend on most of the lower
level ones.
So removing this because it can only potentially cause weird issues.
2023-07-07 11:01:12 +02:00
Robert Hensing
12cb2b0b40
nixos: flakes.nix -> nix-flakes.nix
...
I guess this is what people expect to find. Thanks Sandro.
2023-07-06 23:27:17 +02:00
Robert Hensing
c83ad0598b
nixos/*nix*: Update module impl docs and link related modules
...
Something extra for the readers.
2023-07-06 20:00:10 +02:00
Robert Hensing
07de9b62cc
nixos/*nix*: Add imports as inherently necessary
...
Albeit not technically necessary because of nixos//module-list.nix
2023-07-06 19:48:22 +02:00
Robert Hensing
fad172a366
nixos/config/nix-channel: Move NIX_PATH logic
2023-07-05 14:54:29 +02:00
Robert Hensing
5c0c96a828
nixos/config/nix-channel: Factor out root channel initialization
2023-07-05 14:54:29 +02:00
Robert Hensing
1c772cd857
nixos/config/flakes: Factor out
2023-07-05 14:54:28 +02:00
Robert Hensing
d6a68f0542
nixos/config/nix-remote-build: Factor out
2023-07-05 14:54:27 +02:00
Robert Hensing
4bbd44908c
nixos/config/nix: Move extraOptions
2023-07-05 14:54:27 +02:00
Robert Hensing
19e33831c6
nixos/config/nix: Move nix.check*
2023-07-05 14:54:26 +02:00
Robert Hensing
d73da5b868
nixos/config/nix: Move nix.settings
2023-07-05 14:54:26 +02:00
Robert Hensing
6649d1e369
nixos/config/nix: Move nixConf
2023-07-05 13:03:32 +02:00
Robert Hensing
2fa416732c
nixos/config/nix: Move legacyConfMappings
2023-07-05 12:52:56 +02:00
github-actions[bot]
0f844d9b01
Merge staging-next into staging
2023-07-03 18:01:46 +00:00
Lily Foster
e9207b0501
nixos/*: unhide remaining systemd stage-1 options
...
These options were missed in NixOS/nixpkgs#226237 , but they all were
specifically added for systemd stage-1.
2023-07-03 08:41:38 -04:00
github-actions[bot]
c5b82a046f
Merge staging-next into staging
2023-06-28 18:01:51 +00:00
dariof4
5c13477d40
nixos/fontdir: add otb to font regex ( #239802 )
2023-06-28 14:22:38 +02:00
Sandro Jäckel
1370fe7c36
nixos/no-x-libs: add python3.pkgs.matplotlib
2023-06-27 11:29:24 +02:00
Artturin
ed55524562
nixos/malloc: add back maybe unnecessary line
2023-06-22 17:28:44 +03:00
Artturi
920b833494
Merge pull request #238459 from SuperSamus/vm.max_map_count
2023-06-22 11:37:48 +03:00
Martino Fontana
e1a6c85c2b
nixos/sysctl: raise default vm.max_map_count to 1048576
2023-06-21 19:25:42 +02:00
github-actions[bot]
52cf9e3e3b
Merge staging-next into staging
2023-06-08 18:02:03 +00:00
Victor Engmark
b0a9abedea
refactor: Use dummy variable name for unused value
...
As recommended by ShellCheck
<https://github.com/koalaman/shellcheck/wiki/SC2034 >.
2023-06-08 15:11:35 +12:00