about summary refs log tree commit diff
path: root/nixos/tests/google-oslogin
AgeCommit message (Collapse)AuthorFilesLines
2023-12-27maintainers: Remove adisbladis as maintainer from various packagesadisbladis1-2/+1
These are a handful of packages I no longer use or/and have lost interest in.
2023-02-05nixosTests.google-oslogin: fix tests, provide group mock endpointFlorian Klink1-0/+10
If our (fake) metadata server provides a 404 instead of a JSON document, the NSS module segfaults, and as we do NSS lookups through ns(n)cd, not only crashes the application doing the NSS lookup, but our ns(n)cd. This has been causing segfaults of nscd all along, but since our switch from glibc-nscd to nsncd, caused the test to fail entirely. In any case, by handling /computeMetadata/v1/oslogin/groups we get the NSS lookup to not cause any segfaults, and to succeed the test again.
2023-01-15services.openssh: support freeform settings (#193757)Matthieu Coudron1-2/+2
* services.openssh: support freeform settings Keep "extraConfig" but introduces "settings". Also renames several options (mkRenamedOptionModule [ "services" "openssh" "kbdInteractiveAuthentication" ] [ "services" "openssh" "settings" "KbdInteractiveAuthentication" ]) (mkRenamedOptionModule [ "services" "openssh" "passwordAuthentication" ] [ "services" "openssh" "settings" "PasswordAuthentication" ]) (mkRenamedOptionModule [ "services" "openssh" "useDns" ] [ "services" "openssh" "settings" "UseDns" ]) (mkRenamedOptionModule [ "services" "openssh" "permitRootLogin" ] [ "services" "openssh" "settings" "PermitRootLogin" ]) * updated doc * regen doc
2022-02-05google-compute-config: update configNikolay Amiantov3-5/+3
2022-01-18openssh: Update tests to use new option nameDaniel Frank1-1/+1
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2020-04-29nixos/oslogin: put mockuser and mockadmin in constants, renameFlorian Klink2-13/+19
This allows us to change them easily without search/replacing. Afterwards, we rename them to look a bit more like they are on GCP.
2020-04-29nixos/google-oslogin: improve mock serverFlorian Klink1-22/+59
some slightly better error handling for nonexistent users, less parsing of URLs and query strings by hand.
2019-11-24nixosTests.google-oslogin: port to pythonFlorian Klink1-18/+36
also use a .ssh/config instead of passing the same options over and over again
2018-12-21nixos/tests: add google-oslogin testFlorian Klink3-0/+177