about summary refs log tree commit diff
path: root/nixos/modules/services/system
AgeCommit message (Collapse)AuthorFilesLines
2023-10-28Merge pull request #263203 from nikstur/replace-activationLinus Heckemann1-5/+0
Replace simple activationScripts
2023-10-20nixos: fix bad mkEnableOption descriptionsBjørn Forsman2-2/+2
Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
2023-10-20nixos/nix-daemon: remove activationScriptnikstur1-5/+0
The activationScript does not seem to be necessary anymore as the paths are created anyways.
2023-08-24nixos/zram-generator: drop outdated commentsNick Cao1-4/+0
2023-08-13nixos/zram-generator: initNick Cao1-0/+42
2023-07-23nixos/nix-daemon: change regular if to mkIfFlafyDev1-4/+6
2023-07-17nixos/bpftune: initNick Cao1-0/+22
2023-07-07nixos/nix-daemon: use tmpfiles from nixPackage when possibleIlan Joselevich1-7/+8
2023-07-07nixos/nix*: remove not necessary importsSandro Jäckel1-2/+0
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-07Merge pull request #241690 from hercules-ci/nixos-nix-modulesRobert Hensing1-0/+263
Split nixos/nix-daemon.nix
2023-07-06nixos/*nix*: Update module impl docs and link related modulesRobert Hensing1-0/+7
Something extra for the readers.
2023-07-06nixos/*nix*: Add imports as inherently necessaryRobert Hensing1-0/+2
Albeit not technically necessary because of nixos//module-list.nix
2023-07-05nixos/nix-daemon: Move to services/systemRobert Hensing1-0/+254
It is now only about the system service. Granted, it also installs the client package, but that could be factored out later, with actual test to support such a new type of configuration.
2023-07-04cloud-init: add xfs supportJörg Thalheim1-0/+9
2023-07-03nixos/*: unhide remaining systemd stage-1 optionsLily Foster1-1/+1
These options were missed in NixOS/nixpkgs#226237, but they all were specifically added for systemd stage-1.
2023-05-24nixos/self-deploy: set after to requires, type toTomas Kala1-2/+4
... oneshot, remove wantedBy
2023-05-14cloud-init module: fix default settings (#231867)Jonas Chevalier1-3/+4
The `//` operator doesn't do deep merge so it was overriding the first attrset and not recording the defaults.
2023-04-30cloud-init module: adopt the settings formatzimbatm1-50/+77
This makes it easier to for example set `datasource_list = [ "Vultr" ];` so that cloud-init doesn't scan trough all of the datasources when you know on which target the system is going to be deployed. Previously, one had to copy-paste the default config and adapt it.
2023-04-30cloud-init module: remove superfluous lib. prefixeszimbatm1-5/+5
2023-04-30cloud-init module: format with nixpkgs-fmtzimbatm1-73/+79
2023-04-25cloud-init: add udhcpc support (#226216)Jean-François Roche1-0/+1
* cloud-init: 22.4 -> 23.1.1 * cloud-init: add udhcpc support Cloud-init use as dhcp client, dhclient, which is coming from the unmaintained package, isc-dhcp-client (refer https://www.isc.org/dhcp/) which ended support in 2022. dhclient is deprecated in nixos Add patch to use `udhcpc` dhcp client coming from busybox instead. PR based on #226173 refs #215571 upstream PR: https://github.com/canonical/cloud-init/pull/2125
2023-04-21Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkdFlorian Klink1-1/+20
Systemd stage 1 networkd
2023-04-20Merge pull request #222080 from Stunkymonkey/nixos-optionalStringArtturi1-1/+1
2023-04-18cachix-watch-store: restart indefinitelyDomen Kožar1-0/+6
2023-04-17systemd-initrd: dbusWill Fancher1-1/+20
2023-04-07treewide: use more lib.optionalStringFelix Buehler1-1/+1
2023-03-16Merge pull request #219747 from Stunkymonkey/deprecate-isNullBernardo Meurer1-1/+1
2023-03-06treewide: deprecate isNullFelix Buehler1-1/+1
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-02-16services.cachix-watch-store: fix description of compressionLevelDavHau1-1/+1
By now, zstd is the default.
2023-02-02nixos/nscd: use nsncd by defaultFlorian Klink1-3/+7
As announced in the NixOS 22.11 release notes, 23.05 will switch NixOS to using nsncd (a non-caching reimplementation in Rust) as NSS lookup dispatcher, instead of the buggy and deprecated glibc-provided nscd. If you need to switch back, set `services.nscd.enableNsncd = false`, but please open an issue in nixpkgs so your issue can be fixed.
2022-12-31nixos/self-deploy: Cleanup after types.path is not allowed to be a list anymoreRobert Hensing1-1/+1
2022-12-31treewide: isCoercibleToString -> isMoreCoercibleToStringRobert Hensing1-1/+1
No change in behavior.
2022-12-27cachix-agent: always restartDomen Kožar1-1/+2
2022-12-17nixos: fix typosfigsoda2-2/+2
2022-12-08krb5Full: turn into aliasajs1241-1/+1
2022-11-22nixos/dbus: support dbus-brokerWORLDofPEACE1-50/+110
2022-11-21Merge pull request #201647 from jtojnar/nixos-dbus-cleanupSandro1-40/+32
2022-11-17nixos/dbus: Avoid redundant output specificationJan Tojnar1-4/+3
- Do not use `daemon`, it has been synonymous to `out` since https://github.com/NixOS/nixpkgs/commit/783c40eb68bbbcb9cf6918255157ecab55eedb6e - Do not use explicit `out` output, it has been default since https://github.com/NixOS/nixpkgs/commit/a17216af4c82dbeb33030355664d96875558f7ac (originally introduced in https://github.com/NixOS/nixpkgs/commit/2132c86c45de67842f9b1237f3a0d1f242dce7ec)
2022-11-17nixos/dbus: Clean upJan Tojnar1-19/+30
- Format the expression with nixpkgs-fmt. - Remove `with` statement for clarity. - Remove useless comments. - Regroup systemd options.
2022-11-17nixos/dbus: Remove socketActivated option removal warningJan Tojnar1-19/+1
It has been removed since 21.05: https://github.com/NixOS/nixpkgs/commit/f292a27f442d10de4827800d064a3a8c64d05cee
2022-11-16automatic-timezoned: init at 1.0.41Maxime Brunet1-0/+92
2022-10-27nixos/cloud-init: fix hostname and resolvconf configurationillustris1-1/+2
- Fix hostname configuration on proxmox, which uses "hostname" in user-data instead of "local-hostname" in meta-data. - Allow setting resolv.conf through cloud-init - Add tests for new changes - Add timeouts to make tests fail faster
2022-10-21nixos/nscd: add enableNsncd optionFlorian Klink1-8/+22
When set, this switches from using nscd to using nsncd. It's a protocol-compatible, non-caching and much less flaky alternative.
2022-10-20nixos/nscd: nixpkgs-fmtFlorian Klink1-5/+9
2022-10-17nixos: add cachix watch-store serviceJean-François Roche1-0/+87
Self hosted CI push built packages asynchronously to cachix using a service. Based on @Mic92 [code](https://github.com/cachix/cachix/issues/370#issuecomment-817081937)
2022-09-13nixos/self-deploy: add gzip to pathJohn Soo1-0/+1
The service fails without it.
2022-09-13Merge pull request #190959 from pennae/cachix-host-typeDomen Kožar1-1/+1
nixos/cachix-agent: fix type for host option
2022-09-12nixos/cachix-agent: fix type for host optionpennae1-1/+1
2022-09-12nixos/self-deploy: add tar to path.John Soo1-0/+1
Previously it was missing, and the service would fail.
2022-09-11cachix-agent: add host optionDomen Kožar1-1/+10