2022-06-28 02:25:19 +02:00
|
|
|
image: nixos/nix:2.9.1
|
|
|
|
|
|
|
|
variables:
|
|
|
|
NIX_CONFIG: "experimental-features = nix-command flakes"
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
allow_failure: true
|
2022-06-28 02:47:15 +02:00
|
|
|
before_script:
|
2022-06-28 02:25:19 +02:00
|
|
|
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
|
|
|
- cachix use felschr
|
2022-06-28 02:47:15 +02:00
|
|
|
script:
|
|
|
|
- cachix watch-exec felschr nix build .#nixosConfigurations.home-pc.config.system.build.toplevel
|
|
|
|
- cachix watch-exec felschr nix build .#nixosConfigurations.home-server.config.system.build.toplevel
|
2022-06-28 02:25:19 +02:00
|
|
|
only:
|
|
|
|
- main
|