You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
347 B
Docker
14 lines
347 B
Docker
from nixos/nix:2.19.2
|
|
|
|
run cp /etc/nix/nix.conf /etc/nix/nix.conf.nolink
|
|
run rm /etc/nix/nix.conf
|
|
run mv /etc/nix/nix.conf.nolink /etc/nix/nix.conf
|
|
|
|
run echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
|
run echo "filter-syscalls = false" >> /etc/nix/nix.conf
|
|
|
|
run nix-env -iA nixpkgs.deploy-rs
|
|
|
|
copy . /deploy
|
|
workdir /deploy
|