summary refs log tree commit diff
path: root/nixos/maintainers
Commit message (Collapse)AuthorAge
* Merge pull request #89116 from wagdav/fix-args-create-amisLassulus2020-08-22
|\ | | | | nixos/maintainers/scripts/ec2/create-amis.sh: fix argument check
| * create-amis: fix argument checkDavid Wagner2020-05-28
| | | | | | | | | | | | | | | | | | Because this script enables `set -u` when no arguments are provided bash exits with the error: $1: unbound variable instead of the helpful usage message.
* | nixos/ec2: remove dependency on NIX_PATHJörg Thalheim2020-08-16
| | | | | | | | This is required when migrating to flakes
* | nixos/maintainers/*: editorconfig fixeszowoq2020-08-04
| |
* | nixos/azure-new: use local nixpkgsCole Mickens2020-04-27
|/
* nixos/azure: clarify how users work in basic exampleCole Mickens2020-03-29
|
* nixos/azure: upload-image.sh cleanup $1 handlingCole Mickens2020-03-29
|
* nixos/azure: upload-image names the image betterCole Mickens2020-03-29
|
* nixos/azure: simplify example imageCole Mickens2020-03-29
|
* azure: init nixos/maintainers/scripts/azure-newCole Mickens2020-03-29
|
* nixos-ami: update nvme_core.io_timeout for linux kernel >= 4.15Benjamin Hipple2020-03-22
| | | | | | NixOS 20.03 is built on kernel 5.4 and 19.09 is on 4.19, so we should update this option to the highest value possible, per linked upstream instructions from Amazon.
* create-amis: Add eu-north-1adisbladis2020-03-05
|
* maintainers/create-azure.sh: run from anywhereAlyssa Ross2020-01-09
| | | | | I'm not really sure how the line directly after ended up with this, but this line didn't...
* ec2/create-amis.sh: register root device as /dev/xvdaAndrew Childs2019-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the case of blkfront drives, there appears to be no difference between /dev/sda1 and /dev/xvda: the drive always appears as the kernel device /dev/xvda. For the case of nvme drives, the root device typically appears as /dev/nvme0n1. Amazon provides the 'ec2-utils' package for their first party linux ("Amazon Linux"), which configures udev to create symlinks from the provided name to the nvme device name. This name is communicated through nvme "Identify Controller" response, which can be inspected with: nvme id-ctrl --raw-binary /dev/nvme0n1 | cut -c3073-3104 | hexdump -C On Amazon Linux, where the device is attached as "/dev/xvda", this creates: - /dev/xvda -> nvme0n1 - /dev/xvda1 -> nvme0n1p1 On NixOS where the device is attach as "/dev/sda1", this creates: - /dev/sda1 -> nvme0n1 - /dev/sda11 -> nvme0n1p1 This is odd, but not inherently a problem. NixOS unconditionally configures grub to install to `/dev/xvda`, which fails on an instance using nvme storage. With the root device name set to xvda, both blkfront and nvme drives are accessible as /dev/xvda, either directly or by symlink.
* ec2-amis.nix: add 19.09 amisAmineChikhaoui2019-10-28
| | | | | replace /home/deploy -> $HOME to allow running the script from outside the bastion.
* scripts/gce: make image name configurableJohan Thomsen2019-10-25
|
* amazon-image.nix: upload prebuilt imagesAndrew Childs2019-09-05
|
* amazon-image.nix: add hydra-build-products and improve metadataAndrew Childs2019-09-05
|
* amazon-image.nix: default to vpc formatted imagesAndrew Childs2019-09-05
| | | | These can be imported without converison.
* amazon-image.nix: add EFI support, enable by default for aarch64Andrew Childs2019-09-05
|
* mass replace "flip map -> forEach"danbst2019-08-05
| | | | | | | See `forEach`-introduction commit. ``` rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g' ```
* Revert "mass replace "flip map -> foreach""danbst2019-08-05
| | | | This reverts commit 3b0534310c89d04fc3a9c5714b5a4d0f9fb0efca.
* mass replace "flip map -> foreach"danbst2019-07-14
| | | | | | | See `foreach`-introduction commit. ``` rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g' ```
* treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| | | | isNull "is deprecated; just write e == null instead" says the Nix manual
* amazon-image.nix: Resolve failure to include resize2fstalyz2019-03-15
| | | | | | Since 34234dcb511, for resize2fs to be automatically included in initrd, a filesystem needed for boot must be explicitly defined as an ext* type filesystem.
* Merge pull request #44573 from vincentbernat/feature/cloudstackRyan Mulligan2019-02-24
|\ | | | | nixos/cloudstack-image: initial import
| * nixos/cloudstack-image: initial importVincent Bernat2018-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cloudstack images are simply using cloud-init. They are not headless as a user usually have access to a console. Otherwise, the difference with Openstack are mostly handled by cloud-init. This is still some minor issues. Notably, there is no non-root user. Other cloud images usually come with a user named after the distribution and with sudo. Would it make sense for NixOS? Cloudstack gives the user the ability to change the password. Cloud-init support for this is imperfect and the set-passwords module should be declared as `- [set-passwords, always]` for this to work. I don't know if there is an easy way to "patch" default cloud-init configuration. However, without a non-root user, this is of no use. Similarly, hostname is usually set through cloud-init using `set_hostname` and `update_hostname` modules. While the patch to declare nixos to cloud-init contains some code to set hostname, the previously mentioned modules are not enabled.
* | Rename `novaImage` to `openstackImage`Antoine Eiche2019-02-11
| | | | | | | | | | | | People don't necessary know `nova` is related to Openstack (it is a component of Openstack). So, it is more explicit to call it `openstackImage`.
* | google-compute-image: make it a module and the size tuneable (#49854)Ding Xiang Fei2018-11-26
|/ | | | | * move GCE system configuration to `google-compute-config.nix` * remove `fetch-ssh-keys` service (disabled in comment)
* create-amis.sh: Change directory for AMIsEelco Dolstra2018-07-24
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* maintainers/create-azure.sh: remove hydra.nixos.org as binary cache (#41883)Jörg Thalheim2018-06-12
|
* Fix kernel crash caused by absent root deviceIhor Antonov2018-05-12
|
* Fix kernel panic on ec2 kvm instances caused by io timeout on nvme root volumeIhor Antonov2018-05-12
|
* treewide: rename version attributesMaximilian Bosch2018-04-28
| | | | | | | | | | | | | | | As suggested in https://github.com/NixOS/nixpkgs/pull/39416#discussion_r183845745 the versioning attributes in `lib` should be consistent to `nixos/version` which implicates the following changes: * `lib.trivial.version` -> `lib.trivial.release` * `lib.trivial.suffix` -> `lib.trivial.versionSuffix` * `lib.nixpkgsVersion` -> `lib.version` As `lib.nixpkgsVersion` is referenced several times in `NixOS/nixpkgs`, `NixOS/nix` and probably several user's setups. As the rename will cause a notable impact it's better to keep `lib.nixpkgsVersion` as alias with a warning yielded by `builtins.trace`.
* Update create-gce.sh script. Set default option for GCE images to disable ↵Rob Vermaas2018-04-06
| | | | | | host key replacement by service. (cherry picked from commit 748d96ffa3c51c3127bcdf23a88d54afad6406e9)
* nixos/maintainers/option-usages.nix: Improve spelling and grammarAndré-Patrick Bubel2018-04-02
|
* nixos/make-disk-image.nix: Support EFI imagesTuomas Tynkkynen2018-01-22
| | | | | | | | | | | | | | | | | | | | - Add a new parameter `imageType` that can specify either "efi" or "legacy" (the default which should see no change in behaviour by this patch). - EFI images get a GPT partition table (instead of msdos) with a mandatory ESP partition (so we add an assert that `partitioned` is true). - Use the partx tool from util-linux to determine exact start + size of the root partition. This is required because GPT stores a secondary partition table at the end of the disk, so we can't just have mkfs.ext4 create the filesystem until the end of the disk. - (Unrelated to any EFI changes) Since we're depending on the `-E offset=X` option to mkfs which is only supported by e2fsprogs, disallow any attempts of creating partitioned disk images where the root filesystem is not ext4.
* create-amis.sh: Ass eu-west-3Eelco Dolstra2017-12-20
|
* amazon-image: make derivation name configurableDan Peebles2017-10-23
| | | | | I'm getting dozens of nixos-disk-image entries in my store and it's getting hard to track :)
* Don't generate instance-store AMIsEelco Dolstra2017-09-28
| | | | These are obsolete, use EBS AMIs instead.
* gnome3: only maintain single GNOME 3 package set (#29397)Jan Tojnar2017-09-24
| | | | | | | | | | | | | | | | | | | | | * gnome3: only maintain single GNOME 3 package set GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources to update a single version of GNOME. Maintaining multiple versions just does not make sense. Additionally, it makes viewing history using most Git tools bothersome. This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes the config variable for choosing packageset (`environment.gnome3.packageSet`), updates the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`. Closes: #29329 * maintainers/scripts/gnome: Use fixed GNOME 3 directory Since we now allow only a single GNOME 3 package set, specifying the working directory is not necessary. This commit sets the directory to `pkgs/desktops/gnome-3`.
* nixos/nova-image: cleanup image builders (#29242)lewo2017-09-11
| | | | | | | | | There are currently two ways to build Openstack image. This just picks best of both, to keep only one! - Image is resizable - Cloudinit is enable - Password authentication is disable by default - Use the same layer than other image builders (ec2, gce...)
* amazon-image: fix typo in last commitDan Peebles2017-08-11
|
* amazon-image: make image size configurableDan Peebles2017-08-11
|
* amazon-image: support VPC/VHD as an output format for the builderDan Peebles2017-08-10
|
* amazon-image: Add disk format option to image builder moduleDan Peebles2017-08-10
|
* make-disk-image: change to be less VM-centricDan Peebles2017-04-24
| | | | | | | | | | This changes much of the make-disk-image.nix logic (and thus most NixOS image building) to use LKL to set up the target directory structure rather than a Linux VM. The only work we still do in a VM is less IO-heavy stuff that while still time-consuming, is less of the overall load. The goal is to kill more of that stuff, but that will require deeper changes to NixOS activation scripts and switch-to-configuration.pl, and I don't want to bite off too much at once.
* gce/create-gce.sh: rewrite using nix-shell shebang and bash (#24869)Jörg Thalheim2017-04-13
| | | | | | | | | | | * google-cloud-sdk: 150.0.0 -> 151.0.0 - gce/create-gce.sh: rewrite using nix-shell shebang and bash - allows to run the script without being the same directory - nix-shell install google-cloud-sdk - some shellcheck cleanups and scripting best practice - gce/create-gce.sh: do not clobber NIX_PATH: this allows NIX_PATH to be overwritten to build a different release - gce/create-gce.sh: remove legacy hydra option
* Revert "Revert "EC2: Disable PV support""Eelco Dolstra2017-04-04
| | | | This reverts commit 71710fd099ce6c46b54f05c6cf769e73cf11d49f.