nix/.drone.yml

14 lines
428 B
YAML

---
kind: pipeline
name: default
steps:
- name: thinkpad
image: nixos/nix:latest
commands:
- nix-channel --add https://nixos.org/channels/nixos-unstable nixos
- nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
- nix-channel --update
- nix-build '<nixpkgs/nixos>' -j4 -A config.system.build.toplevel -I nixos-config=thinkpad/configuration.nix