diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-13 19:18:31 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-05-13 19:20:37 +0200 |
commit | 8b8be63e51fa9fd4feeb26af571649f72677b1bc (patch) | |
tree | 98bf27d41023d7be279bcf6c66a085e7db313237 /machines | |
parent | 8ea4b0d8dc32f8c9b18331bb59fd00d5fdcbdedb (diff) | |
download | dots-8b8be63e51fa9fd4feeb26af571649f72677b1bc.tar.gz dots-8b8be63e51fa9fd4feeb26af571649f72677b1bc.zip |
Add chmod in mirror script
Diffstat (limited to 'machines')
-rw-r--r-- | machines/srv1/configuration.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix index 924e408..12789c6 100644 --- a/machines/srv1/configuration.nix +++ b/machines/srv1/configuration.nix @@ -16,6 +16,7 @@ let cd /srv/git sudo -u git ${pkgs.git}/bin/git clone --mirror $1 $name + sudo -u git /run/current-system/sw/bin/chmod -R g+w $name ''; in { |