Merge pull request #287100 from mkg20001/lxd-fix-config

lxd-container-image: set mode of configuration.nix
This commit is contained in:
Adam C. Stephens 2024-02-15 07:48:05 -05:00 committed by GitHub
commit 6a6f5206d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,8 +20,7 @@
};
in ''
if [ ! -e /etc/nixos/configuration.nix ]; then
mkdir -p /etc/nixos
cp ${config} /etc/nixos/configuration.nix
install -m 644 -D ${config} /etc/nixos/configuration.nix
fi
'';