nixos-config

My NixOS configuration files

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
# I could use the find command but this is more readable
function update-mirrors
    if test -f $argv[1]/description
        cd $argv[1]
        git remote update
    else
        for i in $argv[1]/*
            update-mirrors $i
        end
    end
end

update-mirrors /srv/git